-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skip selectors starting with '@' #15
Conversation
Can you add a unit test to demonstrate that it works? |
done i think the media query should be removed as any CSS rule. |
skip selectors starting with '@'
Well done @revolunet! Thanks! |
thanks to you, great work ! |
@peterbe, @revolunet : Given most people are working on responsive emails, and that major clients are now supporting media queries(http://litmus.com/help/email-clients/media-query-support), do you guys think you'd be open to a patch that leaves media queries(at the very least, ones with screen and width in there) untouched? |
@dhruv Yes! I'd love that. I think it should be a configurable option. |
For anyone else that arrived here because of problems with their <html>
<head>
<!-- Tell premailer to ignore this style tag and put all your
@media and @import statements here
-->
<style data-premailer='ignore'>
@import url(http://fonts.googleapis.com/css?family=Open+Sans)
</style>
<!-- Go ahead with the rest of your <style> as usual to have it inlined. -->
</head>
<body>...</body>
</html> |
Thanks @scottwb ! |
Hi !
Tiny fix for issue #14
nosetests runs OK
Thanks ;)