osteele / liquid

A Liquid template engine in Go
https://godoc.org/github.com/osteele/liquid
MIT License
287 stars 59 forks source link

Please support allow_false feature #75

Open ns-jjiang opened 1 year ago

ns-jjiang commented 1 year ago

Checklist

Expected Behavior

Parse {{ display_price | default: true, allow_false: true }} without any error.

Actual Behavior

It shows Liquid error (line 12): syntax error in "display_price | default: true, allow_false: true" in {{ display_price | default: true, allow_false: true }}

The syntax is from the shopify document: https://shopify.github.io/liquid/filters/default/

Detailed Description

Possible Solution