const HtmlEscape([HtmlEscapeMode mode = HtmlEscapeMode.UNKNOWN ])

Create converter that escapes HTML characters.

If mode is provided as either HtmlEscapeMode.ATTRIBUTE or HtmlEscapeMode.ELEMENT, only the corresponding subset of HTML characters are escaped. The default is to escape all HTML characters.

Source

const HtmlEscape([this.mode = HtmlEscapeMode.UNKNOWN]);