Permalink
Browse files

fixed quotes bug in ${}

  • Loading branch information...
1 parent 2436d3c commit 4e80f0ab4ace44c1beaea999686d900d8c64822a David Furfero committed Jul 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 template-0.7b.js
View
@@ -114,7 +114,7 @@ Template.prototype = {
* Replace token
*/
if (token) {
- src = 'html+=' + token + ';';
+ src = 'html+=' + token.replace(/\\"/g, '"') + ';';
/**
* Replace tag

0 comments on commit 4e80f0a

Please sign in to comment.