mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 14:02:09 -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"