Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

decode

encodings.html.decode

decode html encoded string back to original

mapping (the inverse of encode):

" " => " "
"&" => "&"
"&lt;" => "<"
"&gt;" => ">"
"&quot;" => "\""
"&#39;" => "'"
"&#x2F;" => "/"

Numeric entities of the form "&#<decimal>;" and "&#x<hex>;"
(e.g. "&#39;" or "&#x2F;") are supported. Illegal values
will result in `codepoint.replacement_character`

NYI: UNDER DEVELOPMENT: Named character references other than the once listed above are not supported (yet):
https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
0.099dev (GIT hash 9b94ad4b4a4bff2bf2be7d77be2c6e1fd7683c4d)
last changed: 2026-09-23