mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
469 B
469 B
title | description | categories | menu | keywords | signature | relatedfuncs | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
htmlEscape | Returns the given string with the reserved HTML codes escaped. |
|
|
|
|
|
In the result &
becomes &
and so on. It escapes only: <
, >
, &
, '
and "
.
{{ htmlEscape "Hugo & Caddy > WordPress & Apache" }} → "Hugo & Caddy > WordPress & Apache"