diff --git a/exec/podcast.js b/exec/podcast.js index 92b67f60345c868a98a06bbaea150f68a66b92e3..5d747c5b0228882f493c51c73380c91eb628e509 100644 --- a/exec/podcast.js +++ b/exec/podcast.js @@ -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) {