Permalink
Browse files

fixed bug in matching %}

  • Loading branch information...
1 parent f427363 commit 9c02910f0f1fc130b092502c10839d500b65921e @tobi committed Nov 9, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 public/javascripts/parseliquid.js
@@ -154,6 +154,10 @@ var LiquidParser = Editor.Parser = (function() {
setState(inText);
return "liquid-punctuation";
}
+ else {
+ setState(inText);
+ return "liquid-bad-punctuation";
+ }
}
else if (isQuote.test(ch)) {
setState(inLiquidString(ch, inLiquidTag));

0 comments on commit 9c02910

Please sign in to comment.