htmlUnescape
少于1分钟
将以下英文翻译为中文:
htmlUnescape
https://gohugo.io/functions/htmlunescape/
Returns the given string with HTML escape codes un-escaped.
语法
htmlUnescape INPUT
htmlUnescape returns the given string with HTML escape codes un-escaped.
Remember to pass the output of this to safeHTML if fully un-escaped characters are desired. Otherwise, the output will be escaped again as normal.
| |
最后修改 June 1, 2023: 新增一个配置参数:sidebar_menu_truncate = 500 用于解决菜单不全的问题 (27810f1)