diff --git a/odoo/tools/mail.py b/odoo/tools/mail.py index 3eec9187926..8391b44f01f 100644 --- a/odoo/tools/mail.py +++ b/odoo/tools/mail.py @@ -392,6 +392,7 @@ def html2plaintext(html, body_id=None, encoding='utf-8'): html = html.replace('>', '>') html = html.replace('<', '<') html = html.replace('&', '&') + html = html.replace(' ', '\N{NO-BREAK SPACE}') # strip all lines html = '\n'.join([x.strip() for x in html.splitlines()])