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

encode

encodings.html.encode

str String,
replace_spaces bool
)
 => 
String
html encode str

mapping:

" " => " " (if replace_spaces is true)
"&" => "&"
"<" => "&lt;"
">" => "&gt;"
"\" => "&quot;"
"'" => "&#39;"
"/" => "&#x2F;"

Arguments

replace_spaces
 bool
0.099dev (GIT hash a35e75388cc5c7a861f5c2a3f42d121e3aab582a)
last changed: 2026-11-03