When using out of the box underscore templating, the default markers for raw content are <%= %>
, and for HTML escaped content are <%- %>
.
However, it is possible to change these markers by adjusting the template settings, for example:
_.templateSettings.interpolate = /\{\{(.+?)\}\}/g;
The question arises, how does this configuration affect the distinction between raw and escaped content? It seems that by changing the markers, you might end up with only one type. Have I missed something in this process?