htmlEscape
少于1分钟
将以下英文翻译为中文:
htmlEscape
https://gohugo.io/functions/htmlescape/
Returns the given string with the reserved HTML codes escaped.
语法
htmlEscape INPUT
In the result & becomes & and so on. It escapes only: <, >, &, ' and ".
| |
另请参阅
最后修改 June 1, 2023: 新增一个配置参数:sidebar_menu_truncate = 500 用于解决菜单不全的问题 (27810f1)