Gopher
FUNCTIONS

htmlEscape

Returns the given string with the reserved HTML codes escaped.

Syntax

htmlEscape INPUT

In the result & becomes &amp; and so on. It escapes only: <, >, &, ' and ".

{{ htmlEscape "Hugo & Caddy > WordPress & Apache" }} → "Hugo &amp; Caddy &gt; WordPress &amp; Apache"