Shopify / liquid

Liquid markup language. Safe, customer facing template language for flexible web apps.
https://shopify.github.io/liquid/
MIT License
11.13k stars 1.39k forks source link

Call to_liquid_value when short circuiting conditions #1735

Closed Maaarcocr closed 1 year ago

Maaarcocr commented 1 year ago

why?

we were not calling to_liquid_value which would result in evaluating and conditions if when the first operand was false

how?

call to_liquid_value when checking if we should short-circuit