[MERGE] lp:937194 (mail: remove character from message)
bzr revid: rco@openerp.com-20120320081523-nz35q1lwfwmzbo3s
This commit is contained in:
@@ -443,6 +443,7 @@ class mail_message(osv.osv):
|
||||
msg['body_html'] = content
|
||||
msg['subtype'] = 'html' # html version prevails
|
||||
body = tools.ustr(tools.html2plaintext(content))
|
||||
body = body.replace(' ', '')
|
||||
elif part.get_content_subtype() == 'plain':
|
||||
body = content
|
||||
elif part.get_content_maintype() in ('application', 'image'):
|
||||
|
||||
Reference in New Issue
Block a user