Allowed HTML attributes in addition to default attributes, in lower case
Allowed CSS Class names
CSS style default values in addition to the default value map, style name should be in lower case
Additional global CSS style nodes
Additional predefined CSS for element
Additional tag replacement, to allow replace a tag to another name, or remove it.
The value can be: '*': Keep this element with no change ': Keep this element but change its tag to the given value null: Remove this element
For other unknown tags, we will respect the value of unknownTagReplacement with the same meaning
Callbacks for HTML attributes
Callbacks for CSS styles
Callbacks for HTML elements
Preserve HTML comments
Define a replacement tag name of unknown tags. A star "*" means keep as it is, no replacement Other valid string means replace the tag name with this string. Empty string, undefined means drop such elements and all its children
Generated using TypeDoc
Options for HtmlSanitizer