Files
NetNewsWire/Shared
Dan Berglund 6432162e66 fix: De-sanitize parts of FreshRSS sanitized HTML.
This de-sanitizes HTML from FreshRSS, which allows inline footnotes to work properly.

Initially I tried fixing this by adding workarounds in `newsfoot.js`, but I realized that we also use some CSS for the footnotes (notably to hide the backlink in the popover).
Thus it seems like a reasonable solution to just de-sanitize the `id` and `class` attributes that we need.

This can be tested by subscribing/reading an article through FreshRSS.
Without this fix the footnotes will be "dumb" and just link out to Safari, and with the fix they will properly be shown inline.

Here's two recent-ish articles with footnotes that can be tested:
- https://daringfireball.net/2026/09/iphone_4_antennagate_q_and_a
- https://www.seangoedecke.com/shipping-is-the-foundation/

Fixes: #5472
2026-10-06 10:17:42 +02:00
..
2026-07-08 10:00:34 -07:00
2025-12-30 22:20:22 -08:00