html
CUE v0.18.0
Functions
Escape
cue
Escape: func(s: string) -> stringEscape escapes special characters like "<" to become "<". It escapes only five such characters: <, >, &, ' and ". Unescape(Escape(s)) == s always holds, but the converse isn't always true.
Unescape
cue
Unescape: func(s: string) -> stringUnescape unescapes entities like "<" to become "<". It unescapes a larger range of entities than Escape escapes. For example, "á" unescapes to "á", as does "á" and "á". Unescape(Escape(s)) == s always holds, but the converse isn't always true.