gugray / rss-parrot

Notifies Mastodon accounts about new posts in the RSS feeds they follow
https://rss-parrot.net
MIT License
109 stars 7 forks source link

Entities like ' showing up in descriptions #3

Closed gugray closed 7 months ago

gugray commented 7 months ago

Quick fix: just unescape the entities which appear to appear frequently

Deep fix: check a lot of retrieved descriptions, see to what extent they have HTML markup, come up with a good-enough approach to sanitize them if needed.

charlesroper commented 7 months ago

Example of this issue in a feed generated from YouTube:

https://rss-parrot.net/web/feeds/www.youtube.com.channel.ucb9awk0xfz2p-ny2nsxghra

alexjsp commented 7 months ago

Thanks for the fix, I noticed yesterday I wasn't seeing broken characters anymore! 💜