premailer / css_parser

Ruby CSS Parser
Other
279 stars 110 forks source link

Regexes Ignore `rem` units #82

Closed NeilBetham closed 7 years ago

NeilBetham commented 7 years ago

I ran into this issue recently where I was using rems to size borders and the border size property was being filtered out all together because it was using rem units. If I change those declarations to another unit like em or px it's fine. Here is the relevant regex.

grosser commented 7 years ago

Want to send a fixup PR ?

NeilBetham commented 7 years ago

You beat me to it. Thanks for the fix!