harttle / liquidjs

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
https://liquidjs.com
MIT License
1.5k stars 237 forks source link

fix: Allow `lenientIf` for multiple operands (issue #682) #683

Closed amedve closed 4 months ago

amedve commented 4 months ago

Closes https://github.com/harttle/liquidjs/issues/682

harttle commented 4 months ago

I think it makes sense to loosen the check when lenientIf is specified, as it's still within an if tag. And I believe this change will not break things, as we're loosening it instead of tightening.

harttle commented 4 months ago

@all-contributors please add amedve for code.

allcontributors[bot] commented 4 months ago

@harttle

I've put up a pull request to add @amedve! :tada:

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 10.11.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: