我刚开始使用胡子,我有这个渲染问题。我通过渲染功能发送数据:使用Javascript的小胡子渲染问题
return Mustache.render(html, data);
或
return Mustache.to_html(html, data);
但是当我把它追加到像一个div:
$('#jqt').append(html);
这还给这样的成绩,实际文字:
<div id="product_search_view"><form class="search-form" ><ul class="rounded"><li><input type="text" id="label" name="search" placeholder="Enter what you are looking for"></li></ul><a href="#" class="whiteButton submit" id="search-button" >Search</a></form><ul id="search-results" class="edgetoedge"></ul></div>
如何我可以让胡须不要放入这些角色吗?
tripple胡须'{{{UnescapedStuffFromMustache}}}'很棒! – Sebastian