sqAttribute constant
Escaping mode for text going into single-quoted HTML attribute values.
The result should not be used as the content of an unquoted or double-quoted attribute value.
Escapes single quotes ('
) but not double quotes ("
), and escapes <
and >
characters because they are not allowed in strict XHTML attributes
Implementation
static const HtmlEscapeMode sqAttribute = HtmlEscapeMode._('attribute', true, false, true, 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/sqAttribute-constant.html