ATTRIBUTE constant

HtmlEscapeMode ATTRIBUTE = const HtmlEscapeMode._('attribute', true, true, false, false)

Escaping mode for text going into double-quoted HTML attribute values.

The result should not be used as the content of an unquoted or single-quoted attribute value.

Escapes double quotes (") but not single quotes ('), and escapes < and > characters because they are not allowed in strict XHTML attributes

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