stereobooster / html_press

🚨 [deprecated] Ruby gem for compressing html
MIT License
35 stars 7 forks source link

Incorrect rem formatting #16

Closed Eelviny closed 7 years ago

Eelviny commented 8 years ago

Take this bit of example code: <div style="padding:2rem;"></div>

html_press transforms this into: <div style="padding:2 rem"></div>

This breaks the website rendering of this padding element, as a space is put in between the "2" and the "rem". This means I can't use rem units inline with my HTML. _I use Octopress minify HTML plugin, which uses this gem. Apologies if this doesn't directly affect htmlpress, I just thought this to most likely be an upstream issue!

Eun commented 8 years ago

Same here

stereobooster commented 7 years ago

project is deprecated https://github.com/stereobooster/html_press/issues/21