The kendo template function injects the literal " value into the DOM instead of " when the html encoding template format is used. For example:
var template = kendo.template("<div id='box'>#= firstName #</div>");
var data = { firstName: "<b>Todd'\" & " " " </b>" };
results in the following value being inserted into the DOM:
<b>Todd'" & " " " </b>
Why are the 3 html entity representations of double quotes translated back to the double quote literal? Is there a way to avoid this? If not, what other html entities behave this way?
http://jsfiddle.net/6fcz2e9j/1/