-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Unexpected Range Behavior With Spaces #791
Comments
I checked shopify/liquid, it seems don't allow any spaces, otherwise will be interpreted as literal string, like |
I make invalid uses like |
Thank you for reporting @microalps, happy to find another Liquid enthusiast! |
See my tests on https://replit.com/@microalps/LiquidUnitTests#main.rb - it depends if strict mode is on, which allows spaces or lax mode which doesn't. I know, it's a misnomer. |
This was found while investigating dotliquid/dotliquid#565
Spaces are not accepted consistently.
{{(1.. 5}}
{{(1 . 5}}
{{(1 ..5}}
{{(1..5 )}}
{{( num.one .. num.five)}}
{{( num.one .. num.five )}}
The text was updated successfully, but these errors were encountered: