Hacker GitHub

← All repos

WICG/sanitizer-api

View on GitHub ↗ ★ 276 Python

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-10-20 · latest 2025-12-10

Mentions per year 3 mentions · busiest year 2025 (2)
20082026
  1. …by having it built into the browser's API. The proposed specification has additional information: https://github.com/WICG/sanitizer-api/
    comment by brainbag · 2025-12-10 · in Why the Sanitizer API is just `setHTML()`
  2. After a minute of digging, found discussion here: https://github.com/WICG/sanitizer-api/issues/100 Perhaps it can be reopened (or a new issue can be opened) regarding naming.
    comment by hexasquid · 2025-10-23 · in Element: setHTML() method
  3. Seeing as [nobody seems to have brought it up to them]( https://github.com/WICG/sanitizer-api/issues?q=sgml ), I'm not surprised that they haven't addressed it. But, as always, specific & easy-to-use APIs are going to win out over more…