html_escape library

Functions

htmlSerializeEscape(String text, {bool attributeMode = false}) → String
Escapes text for use in the HTML fragment serialization algorithm. In particular, as described in the specification: