只需一步,快速开始
{{ .Body|unescaped}}
func TPFunHtmlUnescaped(x string) interface{} { return template.HTML(x) }
t, err := template.ParseGlob(s.Template + "/*") t.Funcs(template.FuncMap{"unescaped": TPFunHtmlUnescaped})
举报
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2026-5-14 23:18 , Processed in 0.061420 second(s), 10 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.