Out of the box underscore templating uses the markers <%= %> for raw, and <%- %> for HTML escaped content.
I know you can change the markers using something like:
_.templateSettings.interpolate = /\{\{(.+?)\}\}/g;
But how does this relate to raw and escaped content? It looks to me like you end up with only one type of marker. Or have I overlooked something?
The Underscore.js documentation says this (emphasis added):
So you can just give the
_.templateSettingsobject anescapeproperty: