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

or syntax for variables doesn't work with single quotes #873

wojtiku opened this Issue Aug 22, 2016 · 0 comments


None yet
2 participants

wojtiku commented Aug 22, 2016

When using the new or syntax like {{ variable_name or 'Default string' }} it simply doesn't work. Only double quotes work {{ variable_name or "Default string" }}.

I mostly use single quotes for statamic-related markup to make it easier to distinguish from html and make syntax-highlighting better and it works like a charm. If only it worked also here :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment