title |
linkTitle |
description |
categories |
keywords |
menu |
function |
relatedFunctions |
aliases |
transform.HTMLUnescape |
htmlUnescape |
Returns the given string with HTML escape codes un-escaped. |
|
|
|
aliases |
returnType |
signatures |
|
string |
transform.HTMLUnescape INPUT |
|
|
transform.HTMLEscape |
transform.HTMLUnescape |
|
|
Remember to pass the output of this to safeHTML
if fully un-escaped characters are desired. Otherwise, the output will be escaped again as normal.
{{ htmlUnescape "Hugo & Caddy > WordPress & Apache" }} → "Hugo & Caddy > WordPress & Apache"