sanitize_html library

Functions

sanitizeHtml(String htmlString, { bool allowElementId(String) bool allowClassName(String) }) → String
Sanitize htmlString to prevent XSS exploits and limit interference with other markup on the page. [...]