1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

fix(rss): handle item title with CDATA content correctly

Fix regression introduced in commit a3ce03cc
This commit is contained in:
Frédéric Guillot 2025-02-15 14:46:04 -08:00
parent a3ce03cc9d
commit 7f54b27079
3 changed files with 205 additions and 164 deletions

View file

@ -173,7 +173,7 @@ func findFeedAuthor(rssChannel *RSSChannel) string {
}
func findEntryTitle(rssItem *RSSItem) string {
title := sanitizer.StripTags(rssItem.Title.Inner)
title := rssItem.Title.Content
if rssItem.DublinCoreTitle != "" {
title = rssItem.DublinCoreTitle