Element::setHTML for sanitization? #2269
stevenvachon
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
I think this would alleviate the need for direct use of DOMPurify.
All reactions