Version 1.12.1
Fixes
- Fixed handling of
{% else %}tags that include text betweenelseand 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.Environmentnow silently ignores superfluous{% else %}and{% elsif %}blocks. The default environment continues to raise aLiquidSyntaxErrorif{% else %}or{% elsif %}appear after the first{% else %}tag. See #151.