Skip to content

Commit

Permalink
Fix HTML entities in RSS item titles
Browse files Browse the repository at this point in the history
  • Loading branch information
svilenmarkov committed Jan 4, 2025
1 parent 0fe0b34 commit abbb495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/glance/widget-rss.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func fetchItemsFromRSSFeedTask(request rssFeedRequest) ([]rssFeedItem, error) {
}

if item.Title != "" {
rssItem.Title = item.Title
rssItem.Title = html.UnescapeString(item.Title)
} else {
rssItem.Title = shortenFeedDescriptionLen(item.Description, 100)
}
Expand Down

0 comments on commit abbb495

Please sign in to comment.