Skip to content
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

Liquid template variables {{ }} conflict with code blocks #55

Closed
doomspork opened this issue Dec 28, 2015 · 1 comment
Closed

Liquid template variables {{ }} conflict with code blocks #55

doomspork opened this issue Dec 28, 2015 · 1 comment
Labels

Comments

@doomspork
Copy link
Member

Liquid assumes all uses of {{ }} are for variables, even inside code blocks. This became apparent when the ETS lesson was deployed:

Liquid Exception: Liquid syntax error: Variable '{{:"$1", :"_", :"$3"}' was not properly terminated with regexp: /\}\}/ in lessons/specifics/ets.md

Temporary workaround is to add a space: { {:"$1", :"_", :"$3"}. Gotta find a better solution.

@doomspork doomspork added the bug label Dec 28, 2015
@milmazz
Copy link
Member

milmazz commented Dec 28, 2015

@doomspork You can use {% raw %} .. {% endraw %} block, which you can temporarily disables tag processing. I'll fix that in a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants