escapeSlash property

bool escapeSlash
final

Whether to escape "/" (forward slash, solidus).

Escaping a slash is recommended to avoid cross-site scripting attacks by the Open Web Application Security ProjectPrevention_Cheat_Sheet#RULE.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content)

© 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/escapeSlash.html