-
Notifications
You must be signed in to change notification settings - Fork 9
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
Comments and empty lines inside object definitions cause harrowing comment weirdness #49
Comments
I'm terribly busy this week. Please spare me sometime to fix this. |
I've noticed as well if I have comments at the end of the file, they'll get removed completely. |
Using command line with selectorSeparator=\n comments at the end of the file are removed:
comments near selectors get removed also
weird also with @media and if/else
gives
Comments near if get moved below
gives
keep comment marker gets removed
gets transformed to
notice the Removal of comments in the middle of a file are also a problem
transforms to
which generates a completely different css I'll try adding tests in a MR |
testing @maranomynet example, adding empty lines changes the response until 11 empty lines when no more comments can be seen O_o However adding a comment in the middle does not move it up anymore, now it simply disappears |
becomes this:
But there's more! 😀
If I remove the comment but leave an empty line:
Then this happens:
The text was updated successfully, but these errors were encountered: