mustache.js does escape all values when using the standard double mustache syntax. Characters which will be escaped: & \ " < >. To disable escaping, simply use triple mustaches like { { {unescaped_variable} } }.
Example: Using { {variable} } inside a template for 5 > 2 will result in 5 > 2, where as the usage of { { {variable} } } will result in 5 > 2.
我觉得你要看下文档才行。(上面为 https://github.com/janl/mustache.js 中摘抄)
简单来说 {{{}}} 可以满足你的要求