The plain text stripping does not strip out style tags, which can lead to a huge mess of CSS styling atop the plain text version for heavily styled messages. I don't have time to make a patch against head, so this is a local patch, but it's a simple enough change to apply manually if needed anyway:

Simply add the following line into the array in the _mimemail_html2text() function in mimemail.inc:
'/<style[^>]*>.*?<\/style>/i' => '',

CommentFileSizeAuthor
mimemail_1.patch994 bytesSqueeself

Comments

allie micka’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

fixed in 5.x and HEAD

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)