CleanCSS icon indicating copy to clipboard operation
CleanCSS copied to clipboard

Breaks if { on single line

Open madr3n opened this issue 10 years ago • 5 comments

If using CSS with .class { properties:value; }

It breaks on the linebreak before the opening {

Would also like to have this added that the output will be formatted with opening curly on its own line, is this possible to customize?

madr3n avatar Jul 28 '14 15:07 madr3n

Thanks for the heads up. I'll add it in as an open in the next release.

stolksdorf avatar Aug 11 '14 02:08 stolksdorf

It also break while using: .class, .class2, .class3 { properties:value; }

Hoping for update soon, love the plugin! :) Keep up the good work!

madr3n avatar Oct 07 '14 09:10 madr3n

Thanks for the heads up. I've been really slow on updating this, it's kinda on my backburner. I have a pretty stable version I'm using personally right now. I'll make sure these bugs are fixed and I'll push it out shortly :)

stolksdorf avatar Oct 12 '14 15:10 stolksdorf

No worries, love the plugin so no problem waiting for it a little bit :)

Just one other side note, but its really a small issue, but with MS gradient css: "filter:progid:DXImageTransform.Microsoft.gradient" it will also add spaces between "progid" and "DXImageTransform" which breaks the sass preprocessor compilation. So I manually remove those for now, so its not a big issue. Just thought I'd point it out. Could also be that my preprocessor should be able handle it..

Anyway, keep up the good work!

madr3n avatar Oct 14 '14 09:10 madr3n

1443462634616 dwebwwwhtml css js jq_helpcssstyle css html css js jq_help - sublime text unregistered Problems....

grantorin avatar Sep 28 '15 17:09 grantorin