-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Liquid function newline_to_br #374
Comments
I figured out that I need to use LiquidTemplateContext with ParseLiquid(). Then most of the liquid functions are defined. However, newline_to_br is still missing. Please consider adding it. Even ignoring liquid compatibility, the html.newline_to_br filter is a missing feature for scriban. |
PR Welcome, personally to sparetime left and little interest in better supporting Liquid in Scriban (Liquid in Scriban is more considered as a transition but I would not recommend to use Scriban for a Liquid syntax.runtime if you really want 100% compatibility) |
Ok but ignoring Liquid.. as a feature request a html.newline_to_br function is missing for the main language. |
Scriban seems to be missing Liquid functions such as 'escape' and 'newline_to_br'. I know there is eg 'html.escape', but when using ParseLiquid() compatibility mode, I think one would reasonably expect the standard Liquid functions to work?
The text was updated successfully, but these errors were encountered: