Read a title's HTML entities as the characters they stand for

An Atom title of type="html", and an RSS title in CDATA, reach the parser
with their entities intact, so The Verge's "Meta’s" showed as typed:
55 stored titles across 17 feeds. Titles are decoded one entity at a time
with quick-xml's HTML5 table, leaving an & that starts none ("Q&A") alone
rather than failing the whole title.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 16:46:47 +00:00
parent cbd16ce3f6
commit b8d22904f1
3 changed files with 60 additions and 5 deletions

View File

@@ -23,6 +23,12 @@ The long form, with what was wrong before and how it was found, is in
- The first scan after upgrading fetches every feed in full once, on its usual schedule, so each
picks up its category without waiting for the publisher to change something.
### Fixed
- Titles that arrive as HTML, such as The Verge's, no longer show their entities as text:
"Meta&#8217;s" reads "Metas". Titles already stored are corrected the next time their feed
changes.
## [0.5.5] - 2026-09-14
### Changed