W3cubDocs

/Dart 2

unknown constant

HtmlEscapeMode const unknown = const HtmlEscapeMode._('unknown', true, true, true, true)

Default escaping mode which escape all characters.

The result of such an escaping is usable both in element content and in any attribute value.

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.

Implementation

static const HtmlEscapeMode unknown =
    HtmlEscapeMode._('unknown', true, true, true, true)

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-convert/HtmlEscapeMode/unknown-constant.html