Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unibeautify crushed in django-html template :( #308

Open
radio700 opened this issue Sep 30, 2021 · 0 comments
Open

unibeautify crushed in django-html template :( #308

radio700 opened this issue Sep 30, 2021 · 0 comments

Comments

@radio700
Copy link

radio700 commented Sep 30, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant