Hirse / brackets-beautify

Brackets Extension to beautify JavaScript, HTML, and CSS files.
MIT License
34 stars 3 forks source link

CSS :not() bug #19

Open hmaesta opened 8 years ago

hmaesta commented 8 years ago

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.

hmaesta commented 8 years ago

Just find out this is a duplicated of issue #618 on js-beauty, but they say it has been fixed.