vscode
vscode copied to clipboard
unibeautify crushed in django-html template :(
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?