styles with properties with multiple values separated by spaces get mashed by mime mail. for example border: 1px solid black; comes out as border: 1pxsolidblack;

do not know how to do a patch but mimemail.theme.inc should be changed as follows:

46 // $variables['css'] = str_replace(' ','', str_replace("\n", '', $css)); removes all spaces including where they are required
$variables['css'] = preg_replace('|\s+|', ' ', $css); // remove multiple occurrences of white space and replace with a single space.

this works with my style sheet.

Comments

sgabe’s picture

Status: Active » Closed (duplicate)