paolochiodi / htmlcompressor

A work in progress port of google's htmlcompressor.jar
Other
152 stars 26 forks source link

CSS compression: final s being truncated for transition #40

Open GiboMac opened 6 years ago

GiboMac commented 6 years ago

The compressed output does not put the last s, thus making the css invalid for the browser

https://gist.github.com/GiboMac/aa5e8c572fbda03970bffad24a482af7 (stupid gist but it should give you the idea)

paolochiodi commented 6 years ago

Ciao, thanks for reporting this. I'm not able to test it at the moment, but the general idea is that htmlcompressor offloads css compression to an external library (by default it is yum-compressor, but you can specify you own) so I'm inclined to think it may be a bug in yui itself.

I'll test it in the next few days.

PS: which version of you-compressor are you using?

GiboMac commented 6 years ago

Ciao Paolo, stupidamente non ho controllato sul repo di yui... https://github.com/yui/yuicompressor/issues/113