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

CSS beautify changing symantics #883

Closed
davetclark opened this issue Feb 22, 2016 · 2 comments
Closed

CSS beautify changing symantics #883

davetclark opened this issue Feb 22, 2016 · 2 comments

Comments

@davetclark
Copy link

I can't use css beautify because of this bug.

div [attr] :not(.class) {
    color: red;
}

Becomes

div [attr]:not(.class) {
    color: red;
}

Note the lack of space between ] and :

This is my config

{
    "_comment": "Don't edit this file directly. Changes will be overwritten",
    "preserve_newlines": true,
    "jslint_happy": true,
    "keep_array_indentation": false,
    "space_before_conditional": true,
    "max_preserve_newlines": 10,
    "brace_style": "collapse",
    "keep_function_indentation": false,
    "break_chained_methods": false,
    "eval_code": false,
    "unescape_strings": false,
    "wrap_line_length": 0,
    "git_happy": false,
    "end_with_newline": true
}
@chriscoyier
Copy link

Confirmed on my side too. This was reported to us at CodePen here.

@bitwiseman bitwiseman added this to the v1.6.4 milestone Aug 9, 2016
@bitwiseman
Copy link
Member

This will be fixed in 1.6.4, see #985.

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