Underscore.js templates use <%= %> for variable interpolation. Unfortunately that is also interpreted in a JSP (or GSP). Is there a way to use Underscore.js templates wit
Another option that doesn't require global replace is to specify the interpolate and evaluate to specific method invocation
_.template($("#template-id").html(),null, { interpolate : /\{\{\=(.+?)\}\}/g, evaluate: /\{\{(.+?)\}\}/g });`