liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Liquid markup language. Safe, customer facing template language for flexible web apps.

Results 289 liquid issues
Sort by recently updated
recently updated
newest added

This is a clean up that accomplishes a few things. It doesn't add any new methods, it just shifts parsing logic inside `initialize` to `parse` which is pre-existing functionality. ##...

Fixes #1156 Added tests to Liquid::Utils, tried to understand the context and constraints of each one of the methods based on the use cases. Didn't add a test for `#slice_collection`...

Confirming if this logic is needed as it seems to have been introduced incrementally and has seemed to evolve over time unnecessarily. However it may now be required behaviour. If...

This changes all constants to SCREAMING_SNAKE_CASE. It provides backward support through `liquid/legacy` @Shopify/liquid

Proposed new addition for a number format filter. Resolves outstanding issues and really complex workarounds (https://gist.github.com/hexerei/5bd632b2a179717e219fbe18c5793181) **Usage** ``` {{ price | format: decimal_places, thousands_separator, decimal_separator}} ``` **Examples** ``` {{ 20...

Filter Request

This was introduced but never actually used. The introduction of environments.last as the fallback for unfound variables means this functionality is already somewhat broken. See full discussion and history of...

# Liquid Format `Liquid::Template.parse(template).format` This is a work in progress but I wanted to keep visibility and start discussions around it. I'm going to spend some of my spare time...

So that one need not call `@markup.strip` in their tag's instance_methods

To do: - [ ] Update [docs](https://github.com/Shopify/liquid/blob/gh-pages/filters/capitalize.md) if merged

Filter Request

When I wrote my first drop, to_s didn't change the way a drop class rendered itself, but to_str did. In the new version it's the other way around, but I...