cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE Beautifier removes whitespace in CSS file

Former Member

Hello Community,

I have a problem with the Beautify function in WebIDE.

The following two statements are not the same:

.class1.class2 {...}

.class1 .class2 {...}

WebIDE knows that. The beautifier does not remove the whitespace.

The following tow statements are not the same, too:

.class1:not(.class2) {...}

.class1 :not(.class2) {...}

When I execute the Beautify function the whitespace of the second statement will be removed.

That's a bug, isn't it?

Accepted Solutions (0)

Answers (1)

Answers (1)

iftah_peretz
Active Contributor
0 Kudos

I agree.

Not (no pun intended) only in classes. Also

body :not(p) {
  text-decoration: underline;
}

After Beautify gets to be a different rule:

body:not(p) {
  text-decoration: underline;
}

Do you agree michal.keidar ?

michal_keidar
Active Contributor

Thanks - I will check it and report internally.

Cc: yuval.morad

Regards,
Michal.