Skip to content

unibeautify crushed in django-html template :( #308

@radio700

Description

@radio700

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions