I am looking at mustache.js based template and the person has defined some variables as {{variable}}
and sometimes {{{variable2}}}
.
我正在查看基于mustache.js的模板,并且该人已将某些变量定义为{{variable}},有时还定义为{{{variable2}}}。
1 个解决方案
#1
2
From the documentation:
从文档:
All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache:
{{{name}}}
默认情况下,所有变量都是HTML转义的。如果您想要返回未转义的HTML,请使用三重胡须:{{{name}}}
#1
2
From the documentation:
从文档:
All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache:
{{{name}}}
默认情况下,所有变量都是HTML转义的。如果您想要返回未转义的HTML,请使用三重胡须:{{{name}}}