-
Notifications
You must be signed in to change notification settings - Fork 97
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
Broken change for div with class
#146
Comments
I cannot reproduce this given your snippet. What's your prettier config, and give a minimum reproducible? |
(I should note that I didn't actually try to reproduce this before adding the bug label, sorry if that was misleading!) |
Here's my File:
File:
|
I narrowed this down to this minimum reproducible: <div class="met-ex metropolis02">
<!-- -->
</div> It seems the comment is messing something up. This issue also occurs in previous versions, so it's not related to |
Will have strange behavior if there's a comment inside which will then ignore the wrong next node Fixes sveltejs#146
Will have strange behavior if there's a comment inside which will then ignore the wrong next node Fixes #146 Also added support for running only dedicated tests
Testing v1.3.0 with previous formatting on v1.2.1 resulted in this change:
The text was updated successfully, but these errors were encountered: