liquid.js icon indicating copy to clipboard operation
liquid.js copied to clipboard

For loops do not render correctly

Open Batistleman opened this issue 10 years ago • 2 comments

Hello writer of an awesome tool,

for loops does not seem to work:

{% for i in (1..4) %}
  {{ i }}
{% endfor %}

it makes the parser fail and returns a blank page.

Any ideas on how I can help to debug this? (is there a flag to throw errors?)

Batistleman avatar May 22 '14 06:05 Batistleman

Any ideas if this would be a bug? or are for loops not included?

Batistleman avatar May 28 '14 05:05 Batistleman

@Batistleman For loops definitely work, but I'm not sure about ranges.

jdlich avatar Oct 05 '14 20:10 jdlich