We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6b93d9 + a9c79ce commit abd033aCopy full SHA for abd033a
dtl/dom.js
@@ -94,7 +94,7 @@ define([
94
var replacement = "";
95
for(var p = 2, pl = pair.length; p < pl; p++){
96
if(p == 2){
97
- replacement += "<" + tag + ' dtlinstruction="{% ' + token[k].replace('"', '\\"') + ' %}">';
+ replacement += "<" + tag + ' dtlinstruction="{% ' + token[k].replace(/"/g, '\\"') + ' %}">';
98
}else if(tag == pair[p]) {
99
continue;
100
}else{
0 commit comments