-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Bug: Indent with inline css styles #262
Comments
Could you try I assume it has something to do with code around here: Lines 1310 to 1323 in 3a1cbf2
If you like, please create a test and open a PR. Have a nice day ☀️ |
Hey @Shinigami92, thanks for the quick answer 🙏 Unfortunately it didn't help I have this command on pre-commit. But not sure if it affects anything. Before I added pug to prettier I had a normal indentation and everything worked fine
|
Hey @Shinigami92, thanks for fixing it 🙏 But now there is another problem 🥲 Now after the pretiffy, additional indents appear at the end of the styles... But, strangely, this does not always happen. For example, everything is fine here: |
You can help me with creating a new bug issue, cause I reference these in my unit test suite (https://github.com/prettier/plugin-pug/tree/main/tests/issues) |
Info
Prettier config
Input
Expected Output
Additional Context
Hi there!
after prettify

but should be like

Also, I use

editorconfig-checker
so I can't do anything at all 😥Can you please tell me what is better for me to do? 🙏
The text was updated successfully, but these errors were encountered: