question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spaces removed from :not statement

See original GitHub issue

Hello,

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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jakubpawlowiczcommented, Mar 19, 2021
0reactions
jakubpawlowiczcommented, Mar 5, 2021

Hmmm, you are right @lluerich. I have no idea how it slipped through the tests. Let’s reopen it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found