std/html
On this page
Index
Functions
escape_string
fn escape_string(s: Str) -> Strhtml.EscapeString: <, >, &, ' and " as <, >,
&, ' and ".
unescape_string
fn unescape_string(s: Str) -> Strhtml.UnescapeString: every entity reference unescaped (named, the
legacy names without a semicolon such as & and ©, decimal
Δ and hexadecimal λ numeric references, the C1 control
code points replaced as browsers do, invalid ones as U+FFFD);
unescape_string(escape_string(s)) == s always, the converse not.