Closed amit777 closed 1 month ago
I don't believe this should be valid syntax:
{% if foo %} foo {% else foo = 'blah' %} {% endif %}
If there is stuff after the {% else ... %} I believe there should be a parse error?
{% else ... %}
thanks for the quick patch on this! And nice catches on potential ordering issues with elsif and else. I didn't think of that but it's definitely possible to happen.
I don't believe this should be valid syntax:
If there is stuff after the
{% else ... %}
I believe there should be a parse error?