Construct a new instance of HtmlSanitizer
Options for HtmlSanitizer
Convert global CSS into inline CSS
The HTML Document
The input HTML
Current inheritable CSS styles
Sanitize an HTML element, remove unnecessary or dangerous elements/attribute/CSS rules
Root node to sanitize
Current CSS styles. Inheritable styles in the given node which has the same value with current styles will be ignored.
HTML source
(Optional) additional HTML STYLE elements used as global CSS
HTML source string
Options used for this sanitizing process
Generated using TypeDoc
HTML sanitizer class provides two features: