mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-11-10 01:19:37 +01:00
Fix podcast failed to parse rss feed when feed is not using CData in content:encoded #4757
This commit is contained in:
parent
a87ea32715
commit
b1921e7034
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user