W3cubDocs

/Dart 2

element constant

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

Escaping mode for text going into HTML element content.

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

Escapes < and > characters.

Implementation

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-convert/HtmlEscapeMode/element-constant.html