element constant

HtmlEscapeMode const element

Escaping mode for text going into HTML element content.

The escaping only works for elements with normal HTML content, and not, for example, for script or style element content, which require escapes matching their particular content syntax.

Escapes < and > characters.

Implementation

static const HtmlEscapeMode element =
    HtmlEscapeMode._('element', true, false, false, false);