element constant
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 = HtmlEscapeMode._('element', true, false, false, false);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-convert/HtmlEscapeMode/element-constant.html