1 <script type="text/html" id="conTpl"> 2 3 {{# 4 var delhtml = function(str) { 5 return str.replace(/<[^>].*?>/g, ''); 6 } 7 }} 8 9 {{delhtml(d.contant)}} 10 11 </script>