Version 1.12.2
Fixes
- Fixed
{% case %}/{% when %}behavior. When usingliquid.future.Environment, we now render any number of{% else %}blocks and allow{% when %}tags to appear after{% else %}tags. The defaultEnvironmentcontinues to raise aLiquidSyntaxErrorin such cases. - Fixed line numbers in some error messages. When parsing some Liquid expressions, we were always getting a line number of
1in the event of a syntax error. See issue #162.
Changed
- Changed
{% break %}and{% continue %}tag handling when they appear inside a{% tablerow %}tag. Now, when usingliquid.future.Environment, interrupts follow Shopify/Liquid behavior introduced in #1818. Python Liquid's default environment is unchanged.