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
Hi, I'm going to use this fiddle to demonstrate my point, so we have a custom tag and we want parameters to be manipulated using filters when we call hash.render(ctx), do you have any suggestions? and also why does enclosing my parameters value in {{}} or {} always yields true?
currently I parse the parameter {{max|minus:2}} as string and refeed it to engine engine.parseAndRenderSync(this.args.to, scope) to apply the filter, but any suggestions are welcome thank you
Activity
harttle commentedon Aug 29, 2024
Nesting
{{}}with{%%}is invalid in Liquid, though I'm not sure what'll happen. You'll need_evalValue()to evaluate a filtered value. Like:See this one: https://jsfiddle.net/ok6vqyp8/