Skip to content
Snippets Groups Projects
Commit bbe67d8c authored by Xavier ALT's avatar Xavier ALT
Browse files

[FIX] mail: correctly parse body as html for pure-html email


Some external tools send email as pure html (no multipart) and when
parsing such email we ends up having the raw HTML as body (text)

This commit ensure we correctly parse and sanitize the body as HTML
for such emails.

closes odoo/odoo#132020

Task-id: 3451889
X-original-commit: b078f717
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: default avatarXavier Alt (xal) <xal@odoo.com>
parent 5c9bce5d
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment