diff --git a/server/utils/podcastUtils.js b/server/utils/podcastUtils.js index b62e024f0..2042a8e39 100644 --- a/server/utils/podcastUtils.js +++ b/server/utils/podcastUtils.js @@ -171,7 +171,7 @@ function extractEpisodeData(item) { // Full description with html if (item['content:encoded']) { - const rawDescription = (extractFirstArrayItem(item, 'content:encoded') || '').trim() + const rawDescription = (extractFirstArrayItemString(item, 'content:encoded') || '').trim() episode.description = htmlSanitizer.sanitize(rawDescription) }