replace function getOrSetTemplate(element, attrname), line 141 with this:
function getOrSetTemplate(element, attrname){
var template=element.prop(attrname+"template");
if(template) {
return unescape(template);
}
var att=element.prop(attrname);
// Hide index occurrences inside the template (todo: better escaping method)
element.prop(attrname+"template", escape(att));
return att;
}
replace function getOrSetTemplate(element, attrname), line 141 with this: function getOrSetTemplate(element, attrname){ var template=element.prop(attrname+"template");