Skip to Content
avatar image
Former Member

WebIDE Beautifier removes whitespace in CSS file

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 05 at 11:55 AM

    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 ?

    Add comment
    10|10000 characters needed characters exceeded