mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-13 08:12:52 +02:00
Fix podcast failed to parse rss feed when feed is not using CData in content:encoded #4757
This commit is contained in:
@@ -171,7 +171,7 @@ function extractEpisodeData(item) {
|
|||||||
|
|
||||||
// Full description with html
|
// Full description with html
|
||||||
if (item['content:encoded']) {
|
if (item['content:encoded']) {
|
||||||
const rawDescription = (extractFirstArrayItem(item, 'content:encoded') || '').trim()
|
const rawDescription = (extractFirstArrayItemString(item, 'content:encoded') || '').trim()
|
||||||
episode.description = htmlSanitizer.sanitize(rawDescription)
|
episode.description = htmlSanitizer.sanitize(rawDescription)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user