Namespace: go.std.html
v1.0Contents
Summary
Provides a low-level interface to the html package.
Package html provides functions for escaping and unescaping HTML text.
Index
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
(None.)
Variables
-
(None.)
Functions, Macros, and Special Forms
-
EscapeString
Function v1.0(EscapeString s)
EscapeString escapes special characters like "<" to become "<". It
escapes only five such characters: <, >, &, ' and ".
UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
always true.
Go input arguments: (s string)
Go returns: string
Joker input arguments: [^String s]
Joker returns: ^String -
UnescapeString
Function v1.0(UnescapeString s)
UnescapeString unescapes entities like "<" to become "<". It unescapes a
larger range of entities than EscapeString escapes. For example, "á"
unescapes to "รก", as does "á" and "á".
UnescapeString(EscapeString(s)) == s always holds, but the converse isn't
always true.
Go input arguments: (s string)
Go returns: string
Joker input arguments: [^String s]
Joker returns: ^String
Types
-
(None.)