liquid-rust
liquid-rust copied to clipboard
Liquid templating for Rust
Seems like a pretty neat concept might be nice as an "extras" block (non-stdlib feature) ```liquid {% filter upper %} Hello {% endfilter %} ``` See https://tera.netlify.app/docs/#filters Workaround: ```liquid {%...
Compile to wasm and provide a JS API 1. Would allow people to experiment in a browser 2. Would allow reproducing bugs in the browser 3. Extend reach
In some contexts, printing all errors can help speed up development cycle. In other contexts, it is overwhelming
liquid-rust version: 0.19 rust version: nightly OS: Windows When using `{%- -%}` to open and close a tag, some unwanted whitespace still appears in the rendered document. Looking at the...
The liquid test suite has helped us identify a lot of gaps in our compatibility but it is very incomplete still. Ideas - Create common input for liquid-rust and liquid-ruby...
We have a thing wrapper around `pest` that is exposed in `liquid`s API - The bridge creates extra work - We are limited in evolving the bridge's API Ideally the...
This issue was automatically generated. Feel free to close without ceremony if you do not agree with re-licensing or if it is not possible for other reasons. Respond to @cmr...
Example test case: ```rust #[test] #[should_panic] fn test_recursively_included_template_does_not_produce_endless_loop() { panic!("We don't check recursion depth"); /* let parser = liquid::ParserBuilder::with_liquid().include_source(Box::new(InfiniteFileSystem)).build(); parser.parse("{% include 'loop' %}").unwrap(); */ } ``` We probably want `Parser`...
Example test: ```rust assert_eq!(v!("ar"), filters!(slice, v!("foobar"), v!(-2), v!(2))); ``` - [Rust implementation](https://github.com/cobalt-org/liquid-rust/blob/master/src/filters/mod.rs) - [Ruby implementation](https://github.com/Shopify/liquid/blob/master/lib/liquid/standardfilters.rb) - [Relevant tests](https://github.com/cobalt-org/liquid-rust/search?q=liquid+261&unscoped_q=liquid+261) - Once this is working, ideally the test will start failing. We...