premailer / css_parser

Ruby CSS Parser
Other
279 stars 110 forks source link

Respect the :import option. #51

Closed rustyio closed 10 years ago

rustyio commented 10 years ago

The inline documentation describes an :import option that determines whether the parser loads CSS specified using an @import statement.

This setting is broken in the master branch. CSS @import statements are processed even when :import is set to false.

This pull request fixes the code to respect the :import option.