A class to sanitize HTML strings.
Private
Whether to replace URLs by HTML anchors.
Sanitize an HTML string.
The dirty text.
Optional
The optional sanitization options.
The sanitized string.
Set the whether to allow name and id attributes.
name
id
Set the allowed schemes
Allowed schemes
Set the URL replacement boolean.
URL replacement boolean.
A class to sanitize HTML strings.