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
I was trying the code formatting plugin today and played around with it. I recognized a breaking rewrite:
When calling an index of an array, e.g. array[0] it gets rewritten to array..
Expected behavior
It should stay the same.
To Reproduce
Original Source Code:
{%setarr = ["foo", "bar"] %}
{{ arr[1] }}
Formatted Source Code:
{%setarr = [ "foo", "bar"] %}
{{ arr. }}
Checklist
I have checked the known issues to make sure this isn’t already a known issue.
The text was updated successfully, but these errors were encountered:
Description
I was trying the code formatting plugin today and played around with it. I recognized a breaking rewrite:
When calling an index of an array, e.g.
array[0]
it gets rewritten toarray.
.Expected behavior
It should stay the same.
To Reproduce
Original Source Code:
Formatted Source Code:
Checklist
The text was updated successfully, but these errors were encountered: