PDA

View Full Version : DomTemplate.compile() bug with apostrophes



kalebwalton
30 Mar 2007, 6:03 AM
The following code fails:


try {
Ext.DomHelper.createTemplate("''A").compile();
} catch(e) {
console.log(e);
}

We are compiling templates based on user input which will invariably contain apostrophes.