So I'm playing around writing a small plugin around a liquid_filter. I'm now testing the gem in my project and found that the new liquid_filter is not found and that calling the unknown liquid_filter does not throw any errors.
Bridgetown Version:
bridgetown 0.20.0 "Healy Heights"
To Reproduce
1) create a new site
2) add {{ "string" | unknown_liquid_filter}} to index.md
3) run bridgetown serve
4) visiting the site shows it prints "string" without logging an error for the unknown liquid filter
Current behavior
Applying an unknown liquid_filter does nothing, neither logging a warning, error or anything.
Expected behavior
I'd have expected it either throws an error and holds the liquid generator. Alternative it should at least provide a warning in the log.
Computing environment (please complete the following information):
So I'm playing around writing a small plugin around a liquid_filter. I'm now testing the gem in my project and found that the new liquid_filter is not found and that calling the unknown liquid_filter does not throw any errors.
Bridgetown Version:
bridgetown 0.20.0 "Healy Heights"
To Reproduce
1) create a new site 2) add
{{ "string" | unknown_liquid_filter}}
to index.md 3) runbridgetown serve
4) visiting the site shows it prints "string" without logging an error for the unknown liquid filterCurrent behavior
Applying an unknown liquid_filter does nothing, neither logging a warning, error or anything.
Expected behavior
I'd have expected it either throws an error and holds the liquid generator. Alternative it should at least provide a warning in the log.
Computing environment (please complete the following information):