Closed (fixed)
Project:
Mime Mail
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 19:40 UTC
Updated:
22 Feb 2009 at 17:10 UTC
The drupal_html_to_text function used to create the plaintext alternative of a message strips the <style> element but keeps its textual content, so the plaintext alternative gets a bunch of "rubbish" on the top.
The proposed patch strips the <style> element along with its content before passing the text to drupal_html_to_text.
| Comment | File | Size | Author |
|---|---|---|---|
| mimemail-strip-styles.patch | 749 bytes | plach |
Comments
Comment #1
jriedel commentedI was just setting up a site with simplemail, then added mimemail and noticed this problem. I just tried the patch. It fixed it right up.
Thanks for the good job!
Comment #2
jerdavis