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

Generates faulty :not formatting #561

Closed
rebelliard opened this issue Oct 16, 2014 · 7 comments
Closed

Generates faulty :not formatting #561

rebelliard opened this issue Oct 16, 2014 · 7 comments

Comments

@rebelliard
Copy link

The beautifier adds some spaces between not directives that break the styles:

.form-group:not(:last-child) becomes .form-group: not(: last-child)

@bitwiseman
Copy link
Member

SCSS?

@bitwiseman bitwiseman added this to the v1.6.0 milestone Oct 17, 2014
@rebelliard
Copy link
Author

.LESS, actually. Although this should be perfectly readable on CSS standard.

@noducks
Copy link

noducks commented Feb 12, 2015

Just ran into this too. +1 for a fix.

@bitwiseman
Copy link
Member

@rebelliard, @noducks, This appears to be fixed.

On http://jsbeautifier.org/ this remains unchanged:

<style>
    .form-group:not(:last-child)
</style>

Can you verify?

@bitwiseman
Copy link
Member

Maybe #557 the actually issue?

@noducks
Copy link

noducks commented Jun 16, 2015

Yes. It is fixed now. Thanks.

@bitwiseman bitwiseman removed this from the v1.6.0 milestone Jun 16, 2015
@bitwiseman
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants