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
The {% assign %} tag does not currently catch Liquid syntax errors from trailing garbage, after a valid filtered expression. In this example, the erroneous offset: 2 is silently ignored.
{% assignfoo = 'bar'offset:2 %}
In other words, we don't check for EOF after parsing the left hand side of the assignment expression.
The
{% assign %}
tag does not currently catch Liquid syntax errors from trailing garbage, after a valid filtered expression. In this example, the erroneousoffset: 2
is silently ignored.In other words, we don't check for EOF after parsing the left hand side of the assignment expression.
liquid/liquid/builtin/tags/assign_tag.py
Lines 78 to 90 in 3656c74
The text was updated successfully, but these errors were encountered: