Spaces removed from :not statement
See original GitHub issueHello,
I have been using gulp wrapper of this package and have noticed the whitespace is removed from :not statements.
Basically if i have css:
button {
&:not(.gmap &){
@include button();
}
}
The compiled css becomes (notice the space removed from .gmap and button:
button:not(.gmapbutton){/* the mixin css */}
When using the following gulp process:
return gulp.src(cssPath + '/**/*.css')
.pipe(groupMediaQueries())
.pipe(cleanCss({
compatibility: ie8,
level: 2
}))
.pipe(gulp.dest(cssPath));
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
How to remove spaces in Excel - leading, trailing, non- ...
See how to quickly remove spaces in Excel: trim leading, trailing and extras spaces between words, get rid of non-breaking whitespace and ...
Read more >Examples when space between C++ or C operators must ...
I'm looking for answers in the following format: a valid C or C++ code snippet with /**/ and spaces between two operators (see...
Read more >Whitespace Around Operator" Enabled · Issue #1778 · ...
Prerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been reported.
Read more >Remove spaces from a given string
1) Iterate through all characters of given string, do following a) If current character is a space, then move all subsequent characters one ......
Read more >How To Remove Spaces from a String In Python
You can use the replace() method to remove all the whitespace characters from the string, including from between words. Declare the string ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This time it is fine, please see @tobiasvielmetter example in test cases - https://github.com/jakubpawlowicz/clean-css/commit/64d8c27ed34eb0806c45f8002989bbbeaa32fc71#diff-893825b7389c9d5a4f8db929537b0649c75836c0cb03446de8fb1d2716e1ddffR273
Sorry for trouble with extra testing & reporting.
Hmmm, you are right @lluerich. I have no idea how it slipped through the tests. Let’s reopen it.