liquid
liquid copied to clipboard
Liquid markup language. Safe, customer facing template language for flexible web apps.
Hi there, We use quite a lot of snippets to normalise development. We'd like to be able to pass the `| t` filter to a parameter. **Example** ```liquid {% liquid...
`image.attached_to_variant?` returns `false` and `image.variants` is empty if the image is attached to a variant that is not in the first 250 variants. ```liquid image_attached_to_250th_variant.attached_to_variant? # true image_attached_to_251st_variant.attached_to_variant? # false...
only in rspec, the method has error. works fine in application env, or rails console. rspec result: ``` Failure/Error: template = Liquid::Template.parse(text.to_s) NoMethodError: undefined method `peek_byte' for # # /usr/local/bundle/gems/liquid-5.6.4/lib/liquid/tokenizer.rb:74:in...
The sort and sort_natural filters now accept an 'order' option to specify ascending or descending sort order. Tests were added to verify correct behavior and error handling for invalid order...
- Updated nil_safe_compare to treat booleans - Added tests to verify correct sorting of arrays containing boolean values and nils. Solves weird hacks like this: ```liquid {% liquid assign available_variants...
⚠️ **This bug was reproduced in Dawn and can occur in any theme.** ⚠️ # Problem IF a global theme setting is mapped to a CSS property in `{% style...
This PR implements a comprehensive hermetic recording system for Liquid templates that enables perfect deterministic replay of template executions with massive size optimizations. ## What This Is The Hermetic Template...
Yea so those were totally broken. That makes it hard to actually work on the performance.