Fixes
- Fixed handling of
{% else %}
tags that include text betweenelse
and the closing tag delimiter (%}
). Previously we were treating such text as part of the{% else %}
block. Now the default behavior is to raise aLiquidSyntaxError
. When usingliquid.future.Environment
, we follow Shopify/Liquid behavior of silently ignoring{% else %}
tag expressions, even in strict mode. See #150. liquid.future.Environment
now silently ignores superfluous{% else %}
and{% elsif %}
blocks. The default environment continues to raise aLiquidSyntaxError
if{% else %}
or{% elsif %}
appear after the first{% else %}
tag. See #151.