Skip to content
Snippets Groups Projects
Commit 49dc21d1 authored by deuce's avatar deuce
Browse files

Properly close itunes:image tag.

parent 2a57f077
Branches
Tags
No related merge requests found
......@@ -170,10 +170,10 @@ add_channel_opt_attribute('SkipDays');
add_channel_itunes_attribute('Author');
add_channel_itunes_attribute('Block');
if (opts.ITImageURL != undefined) {
out.write('\t\t<itunes:image href="'+encode_xml(opts.ITImageURL)+'">\n');
out.write('\t\t<itunes:image href="'+encode_xml(opts.ITImageURL)+'" />\n');
}
else if(opts.ImageURL != undefined) {
out.write('\t\t<itunes:image href="'+encode_xml(opts.ImageURL)+'">\n');
out.write('\t\t<itunes:image href="'+encode_xml(opts.ImageURL)+'" />\n');
}
if (opts.ITCategory != undefined) {
if ((m = opts.ITCategory.match(/^\s*([^\/]+)\/(.+?)\s*$/)) != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment