From b1921e70349394bd46577a2125afd69077ebd606 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 19 Oct 2025 17:25:18 -0500 Subject: [PATCH] Fix podcast failed to parse rss feed when feed is not using CData in content:encoded #4757 --- server/utils/podcastUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }