mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
469 B
469 B
title, description, categories, menu, keywords, signature, relatedfuncs
| 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"