Skip to content

[FEATURE] Sort attributes #1648

@Spixmaster

Description

@Spixmaster

Feature Request

Sort element attributes with id="" and and class="" always being first where id has precedence. This is taken from https://api.html-tidy.org/tidy/quickref_next.html#sort-attributes.

<!--before-->
<form class="mt-3"
            method="post"
            accept-charset="UTF-8"
            autocomplete="on"
            action="{{ endpoint_post_user_edit }}"
            enctype="application/x-www-form-urlencoded"
            target="_self">

<!--after-->
<form class="mt-3"
            accept-charset="UTF-8"
            action="{{ endpoint_post_user_edit }}"
            autocomplete="on"
            enctype="application/x-www-form-urlencoded"
            method="post"
            target="_self">

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