pay*_*ike 6 html javascript templates escaping pug
当使用下划线模板时,我想在anchor的href属性中插入一个值,如
a(href= "<%= id %>", class='products') //underscore template in jade
Run Code Online (Sandbox Code Playgroud)
但是输出是
<a href="<% id %>" class="products">
Run Code Online (Sandbox Code Playgroud)
那么如何转义<和>符号,并正确插值?