AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
javascript html sanitization security parser node dom vanilla-javascript xss vanilla-js createelement document sanitizer cross-site-scripting innerhtml safe-dom agnostichtml html-to-dom secure-html
-
Updated
Oct 9, 2024 - JavaScript