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

Disable parsing attributes #1140

Open
dandeancook opened this issue Feb 10, 2023 · 1 comment
Open

Disable parsing attributes #1140

dandeancook opened this issue Feb 10, 2023 · 1 comment

Comments

@dandeancook
Copy link

My attribute has ES6 template value:

style="width:${Width};"

After minifying it becomes

style=width:{}

I don't see an option to change this, seems like html-minifier is evaluating that attribute value?

@dandeancook
Copy link
Author

Found the culprit, minifyCSS is default true, but documentation on project home page says false

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