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

Option to remove empty attributes #232

Open
martinstender opened this issue Aug 8, 2023 · 0 comments
Open

Option to remove empty attributes #232

martinstender opened this issue Aug 8, 2023 · 0 comments

Comments

@martinstender
Copy link

martinstender commented Aug 8, 2023

Hi all,

Unless I have overlooked a configuration possibility, it would be really nice to globally get rid of empty attributes. And maybe trim the strings inside attributes as well, but that's minor.
You could say that we could/should wrap everything in null/empty-checks, but it's of course a lot quicker to just add a class-variable to an element, without having to take into account, that some logic somewhere earlier have decided that there isn't a need for a specific css-class or something like that.

Any suggestions? TIA 😊

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