-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect "variable was not properly terminated with regexp" error #1502
Comments
Duplicate/Related #1491 |
Yup, this is a duplicate of #1491 |
@Oscilllator I know this is old, but on the off chance you or someone else can benefit from this, I was able to resolve a similar issue (feeding a query to https://latex.codecogs.com/gif.latex) by making sure there's a space between consecutive opening braces,
It likewise resolves,
|
If I do:
Liquid::Template.parse("{{ '{}' }}")
I get
Liquid::SyntaxError: Liquid syntax error: Variable '{{ '{}' was not properly terminated with regexp: /\}\}/
which is not correct.Tested on version 5.1.0.
The text was updated successfully, but these errors were encountered: