title: "<%=value%>" in javascript not ASP.net
body: <p>I started using chartjs and i can specify options where the code looks like this: </p>
  
  <pre><code>legendTemplate : "&lt;ul class=\"&lt;%=name.toLowerCase()%&gt;-legend\"&gt;&lt;% for (var i=0; i&lt;datasets.length; i++){%&gt;&lt;li&gt;&lt;span style=\"background-color:&lt;%=datasets[i].strokeColor%&gt;\"&gt;&lt;/span&gt;&lt;%if(datasets[i].label){%&gt;&lt;%=datasets[i].label%&gt;&lt;%}%&gt;&lt;/li&gt;&lt;%}%&gt;&lt;/ul&gt;"
  </code></pre>
  
  <p>The thing is that &lt;% %> is interpreted as ASP.NET code. How can I avoid the conflict?</p>