lisette-stdlib 0.1.16

Little language inspired by Rust that compiles to Go
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Generated by Lisette bindgen
// Source: html (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.14

/// EscapeString escapes special characters like "<" to become "&lt;". It
/// escapes only five such characters: <, >, &, ' and ".
/// [UnescapeString](EscapeString(s)) == s always holds, but the converse isn't
/// always true.
pub fn EscapeString(s: string) -> string

/// UnescapeString unescapes entities like "&lt;" to become "<". It unescapes a
/// larger range of entities than [EscapeString] escapes. For example, "&aacute;"
/// unescapes to "รก", as does "&#225;" and "&#xE1;".
/// UnescapeString([EscapeString](s)) == s always holds, but the converse isn't
/// always true.
pub fn UnescapeString(s: string) -> string