yasuyk / web-beautify

Format HTML, CSS and JavaScript/JSON by js-beautify
GNU General Public License v3.0
219 stars 21 forks source link

Beautification of CSS inserts space on wrong side of psuedo-selectors #4

Open tigerhawkvok opened 10 years ago

tigerhawkvok commented 10 years ago

e.g, it'll correct a:hover to a: hover (incorrect and does not work) instead of a :hover.

lenage commented 9 years ago

I also have the same issue, when run web-beautify on a css like below:

filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000');

it will format it to

filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000');

Is that a bug of web-beautify or js-beautify ?