-
-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Labels
Description
- Node Version:
10.11.0 - NPM Version:
6.4.1 - postcss Version:
7.0.4 - postcss-less Version:
3.0.2
If you have a large amount of code to share which demonstrates the problem you're experiencing, please provide a link to your
repository rather than pasting code. Otherwise, please paste relevant short snippets below.
LESS
.foo() !important;
.foo()!important;
.foo() ! important;
.foo()! important;JavaScript
N/A
Expected Behavior
All of the examples above should yield an AST similar to this:
{
"raws": {
...
important: ' ! important' // One for each example except the first one
},
...
"important": true
}Actual Behavior
Only some of them yield this kind of AST.
How can we reproduce the behavior?
Run postcss-less on the examples above.
I'll take a look at a fix for it.