Implemented auto-escape functionality and provided a default escape replacer for HTML.
Checklist
- [x] I have read the contribution guidelines.
- [x]
make testpasses. - [x]
make lintpasses. - [x] New and changed code is covered by tests.
- [ ] Performance improvements include benchmarks.
- [x] Changes match the documented (not just the implemented) behavior of Shopify.
Rebased version of https://github.com/osteele/liquid/pull/70
Fixed a small lint issue, should be fine now.
Thank you for your contribution!
Copilot found a couple of issues that appear to be valid. There's another PR waiting to land that might require re-merging this one, so I've gone ahead and merged it as is first. I'll create another PR to address the issues that Copilot found.
Copilot found a couple of issues that appear to be valid.[...] I'll create another PR to address the issues that Copilot found.
Oops I accidentally pushed the commit to main instead of to a new branch. It's a71aedf199fcdbe30a92a87891e7bd11665ccc34 in case you want to take a look at it for a "post-merge" review.