While the Mime Mail CSS Compressor seems to work 98% correctly, adding CSS from stylesheets directly into the HTML of emails, it looks like it also strips out all whitespace from said styles. This destroys CSS shorthand, causing the CSS to not function.
IE: A style that should look like this:
style="margin: 0 7px 0 3px; padding: 0 5px; background: #ffffff (http://mywebsite.net/images/background.jpg) repeat fixed top center;"
Ends up looking like this, therefore rendering it useless:
style="margin:07px03px;padding:05px;background:#ffffff(http://mywebsite.net/images/background.jpg)repeatfixedtopcenter;"
I believe the module should allow single-spaces at least, stripping all multiple-spaces out. Let me know if this is something you can verify.
I'm running FreeBSD 6.3, Drupal 6.12, MySQL 5.0.75, PHP 5.2.9, Apache 2.2.11, and Subscriptions 6.x-1.0-beta5.
Comments
Comment #1
gregarios commented