premailer / css_parser

Ruby CSS Parser
Other
279 stars 110 forks source link

Support declarations with `;` in them #26

Closed scomma closed 12 years ago

scomma commented 12 years ago

Declarations whose value contains a semicolon (e.g. base64-embedded image URLs) get chopped up prematurely.

This fix looks for unmatched parentheses and ignore semicolons inside them. Test included.

alexdunae commented 12 years ago

Awesome, thank you.