mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
592 B
592 B
title | description | categories | menu | keywords | signature | relatedfuncs | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
htmlUnescape | Returns the given string with HTML escape codes un-escaped. |
|
|
|
|
htmlUnescape
returns the given string with HTML escape codes un-escaped.
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"