Revert "escaping curly braces in tags. see #51."

This reverts commit 7bfd309e1a.
This commit is contained in:
Christopher Jeffrey 2014-04-26 00:23:42 -05:00
parent 7bfd309e1a
commit 1a4506195c
1 changed files with 0 additions and 16 deletions

View File

@ -2033,22 +2033,6 @@ Element.prototype._parseTags = function(text) {
slash = cap[1] === '/';
param = cap[2].replace(/-/g, ' ');
// if (!slash && param === 'curly') {
// out += '{';
// continue;
// } else if ((slash && param === 'curly') || param === '!curly') {
// out += '}';
// continue;
// }
if (param === 'open') {
out += '{';
continue;
} else if (param === 'close') {
out += '}';
continue;
}
if (param.slice(-3) === ' bg') state = bg;
else if (param.slice(-3) === ' fg') state = fg;
else state = flag;