We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9495c commit aa7a45bCopy full SHA for aa7a45b
src/handlebars.l
@@ -53,6 +53,9 @@ ID [^\s!"#%-,\.\/;->@\[-\^`\{-~]+/{LOOKAHEAD}
53
<raw>"{{{{"/[^/] this.begin('raw'); return 'CONTENT';
54
<raw>"{{{{/"[^\s!"#%-,\.\/;->@\[-\^`\{-~]+/[=}\s\/.]"}}}}" {
55
this.popState();
56
+ // Should be using `this.topState()` below, but it currently
57
+ // returns the second top instead of the first top. Opened an
58
+ // issue about it at https://github.com/zaach/jison/issues/291
59
if (this.conditionStack[this.conditionStack.length-1] === 'raw') {
60
return 'CONTENT';
61
} else {
0 commit comments