Unibeautify / vscode

Unibeautify for VSCode
https://marketplace.visualstudio.com/items?itemName=Glavin001.unibeautify-vscode
MIT License
119 stars 14 forks source link

unibeautify crushed in django-html template :( #308

Open radio700 opened 3 years ago

radio700 commented 3 years ago

everything is ok but

but whenever i try formetting it's crushed {% if page_number >= question_list.number | add : -5 and page_number <= question_list.number | add : 5 %}

it should be {% if page_number >= question_list.number|add:-5 and page_number <= question_list.number|add:5 %}

and this one is also same problem. {% if not user.is_authenticated %} disabled{% endif %}="disabled{% endif %}

it should be {% if not user.is_authenticated %}disabled{% endif %}

the space between number|add:-5 is not permitted is there any way to solve it?