Open hmaesta opened 8 years ago
Hello.
This occurs on Brackets Beautify:
Before: &:not(:last-child) { margin: 1em; }
&:not(:last-child) { margin: 1em; }
After: &:not(: last-child) { margin: 1em; }
&:not(: last-child) { margin: 1em; }
There is a space before last-child, making SASS or LESS crash.
last-child
I tried to reproduce on http://jsbeautifier.org/ but there's the bug do not occurs. If inside .not() it's a class, like :not(.something), it do not bugs too.
.not()
:not(.something)
Just find out this is a duplicated of issue #618 on js-beauty, but they say it has been fixed.
Hello.
This occurs on Brackets Beautify:
Before:
&:not(:last-child) { margin: 1em; }
After:
&:not(: last-child) { margin: 1em; }
There is a space before
last-child
, making SASS or LESS crash.I tried to reproduce on http://jsbeautifier.org/ but there's the bug do not occurs. If inside
.not()
it's a class, like:not(.something)
, it do not bugs too.