Why the Sanitizer API is just setHTML()
Sanitizing HTML is the practice of taking a piece of HTML and removing some unwanted elements and attributes. We are specifying an API that will be directly built into the browser. In fact, you can already use it inFirefox and Chrome.
Nowadays, HTML sanitization is often done to allow …
评论
?
参与讨论