<%== CODE %>

  • function
can.ejs.tags.unescaped  

<%== CODE %>

Runs JS Code and writes the unescaped result into the result of the template.

The following results in "my favorite element is B.". Using <%== is useful for sub-templates.

     <div>my favorite element is <%== '<B>B</B>' %>.</div>