From 49dc21d11860ce18bef362688566196e6067a267 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 11 May 2015 01:15:49 +0000 Subject: [PATCH] Properly close itunes:image tag. --- exec/podcast.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/podcast.js b/exec/podcast.js index 92b67f6034..5d747c5b02 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) { -- GitLab