liquid
liquid copied to clipboard
A Liquid template engine in Go
Compared to the ruby implementation, does the go version have similar security/safety guarantees? What I mean is, liquid was meant for end-user modification and should not allow malicious code to...
## Checklist - [x] I have searched the [issue list](https://github.com/osteele/liquid/issues) ## Detailed Description * Add benchmark to the list of other template [benchmarks]( https://github.com/SlinSo/goTemplateBenchmark). * Provide the bechnhmark results in...
Add benchmarks. These could be translated into Markdown from the test files in . There might also be benchmarks or test files in some of the [other Liquid implementations](https://github.com/Shopify/liquid/wiki/Ports-of-Liquid-to-other-environments).
Add an option to warn or be silent on undefined filters (currently errors). Add an option to warn or error on undefined variables (currently silent).
`slice` was broken with an offset or length above 1000. Shopify documents that `slice` supports arrays in addition to strings; I added support for working on slices. ## Checklist -...
The previous map implementation worked only for slices of maps. By using the library's `values` package this implementation should work with all compatible types. ## Checklist - [x] I have...
## Checklist - [x] I have searched the [issue list](https://github.com/osteele/liquid/issues) - [x] I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a panic,...
## Checklist - [x] I have read the contribution guidelines. - [x] `make test` passes. - [x] `make lint` passes. - [x] New and changed code is covered by tests....
Fix for parsing of condition in Liquid assign statements. Fixes https://github.com/osteele/liquid/issues/76 References: - https://github.com/Shopify/liquid/issues/1102 ## Checklist - [x] I have read the contribution guidelines. - [x] `make test` passes. -...