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>
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>
让eclipse新建的tpl使用html默认格式
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M