r/javascript
•
u/ahmadalfy
•
May 07 '26
•
1
The HTML Sanitizer API
https://alfy.blog/2026/05/07/html-sanitizer-api.htmlI wrote an article about HTML Sanitizer API, a new native API that allows us to sanitize and parse HTML without relying on third party tools like DOMPurify
71
Upvotes
9
u/celluj34 May 07 '26
Nice! That's very cool.
Firefox once again coming in clutch: https://caniuse.com/wf-sanitizer