...
Syntax | Explanation | ||
---|---|---|---|
<%- variable %> | Insert the variable contents with escaping. This escapes any HTML code using the Underline.js escape function. | ||
<%- = variable %> | Insert the variable contents in raw form. Any HTML code is passed through verbatim.
| ||
<% JavaScript Code %> | Execute JavaScript code in the current template context. The most common use case for this is a loop as shown in the example above. |
...