A class to sanitize HTML strings.

Implements

Constructors

Properties

_allowNamedProperties: boolean = false
_autolink: boolean = true
_options: IOptions

Methods

  • Set the whether to allow name and id attributes.

    Parameters

    • allowNamedProperties: boolean

    Returns void