Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection...
by itishappy on Tuesday February 24, 2026 @09:58AM
(#47137954)
What if I wanted an <h2>?
Edit: I don't mean this flippantly. If I want to render, say, my blog entry on your site, will I need to select every markup element from a dropdown list of custom elements that only accept text a la Wordpress?
Edit: I don't mean this flippantly. If I want to render, say, my blog entry on your site, will I need to select every markup element from a dropdown list of custom elements that only accept text a la Wordpress?