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

&:first-of-type:not(:last-child) when prettified insert erroneous white character #310

Closed
gvocale opened this issue May 11, 2016 · 4 comments

Comments

@gvocale
Copy link

gvocale commented May 11, 2016

When I prettify the following code:

.div { &:first-of-type:not(:last-child) {} }

the result is:

.div { &:first-of-type:not(: last-child) {} }

Which throws an error in sass, because there is a spacing before "last-child".

@mayaa6
Copy link

mayaa6 commented May 29, 2016

I encountered the same problem. Is there anyone do sth solve it?

@victorporof
Copy link
Owner

Please file this bug at https://github.com/beautify-web/js-beautify

@gvocale
Copy link
Author

gvocale commented Jun 10, 2016

I'll do.

How come do I file it with JS beautify? Isn't it related to how the CSS is beautified?

@victorporof
Copy link
Owner

That library is also used for css beautification.

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

3 participants