You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ESC_VAR lexer function which supports escaped handlebars expressions using a backslash, only works for normal expressions that are defined using 2 curly brackets like \{{var}}, but it does not work for raw expressions \{{{rawVar}}}, or any custom delimiters \[[var]], giving a false syntax error:
If you add these test cases to the Issue #294 test suite (original support for escaped vars), then you should see this error. This is a bug since it should be supported according the Handlebars spec.
The
ESC_VAR
lexer function which supports escaped handlebars expressions using a backslash, only works for normal expressions that are defined using 2 curly brackets like\{{var}}
, but it does not work for raw expressions\{{{rawVar}}}
, or any custom delimiters\[[var]]
, giving a false syntax error:If you add these test cases to the Issue #294 test suite (original support for escaped vars), then you should see this error. This is a bug since it should be supported according the Handlebars spec.
I've added support in this PR #1085
The text was updated successfully, but these errors were encountered: