Closed (fixed)
Project:
Mime Mail
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2007 at 23:38 UTC
Updated:
26 Feb 2007 at 00:04 UTC
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' => '',
| Comment | File | Size | Author |
|---|---|---|---|
| mimemail_1.patch | 994 bytes | Squeeself |
Comments
Comment #1
allie mickafixed in 5.x and HEAD
Thanks!
Comment #2
(not verified) commented