mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-09 11:01:26 +00: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"