mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
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