You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
richard-browne
changed the title
Missing Liquid escape function
Missing Liquid functions such as escape/newline_to_br
Aug 17, 2021
richard-browne
changed the title
Missing Liquid functions such as escape/newline_to_br
Missing Liquid function newline_to_br
Aug 19, 2021
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)
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: