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

Incorrectly removing space #735

Closed
Mottie opened this issue Feb 27, 2016 · 3 comments
Closed

Incorrectly removing space #735

Mottie opened this issue Feb 27, 2016 · 3 comments

Comments

@Mottie
Copy link

Mottie commented Feb 27, 2016

If I compress the following css:

.highlight-code-c\+\+ .keyword { color:red; }

the result is:

.highlight-code-c\+\+.keyword{color:red}

The space after the second + should not be removed.

This result is seen when using http://refresh-sf.com/ and node-cssmin v0.14.0. My OS is Windows 10 64bit.

Mottie referenced this issue in StylishThemes/GitHub-Dark Feb 27, 2016
@silverwind
Copy link
Contributor

Slightly reduced case:

$ echo ".c\+\+ .a {color: red}" | cleancss
.c\+\+.a{color:red}
$ echo ".c\+\+ .a {color: red}" | csso
.c\+\+ .a{color:red}
$ cleancss -v
3.4.9

@silverwind
Copy link
Contributor

Filed #736.

@jakubpawlowicz
Copy link
Collaborator

Released as 3.4.10.

jakubpawlowicz added a commit that referenced this issue Apr 1, 2016
silverwind pushed a commit to silverwind/clean-css that referenced this issue Sep 25, 2016
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