sanitize_html library

Functions

sanitizeHtml(String htmlString, {bool allowElementId(String)?, bool allowClassName(String)?, Iterable<String>? addLinkRel(String)?}) String
Sanitize htmlString to prevent XSS exploits and limit interference with other markup on the page.