diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-04-16 13:19:32 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-04-17 09:16:26 +0200 |
| commit | 866b48a267d9af31da877fb3b67ab1da1c8cfe70 (patch) | |
| tree | 0e48a6fe13252b0a25c85de3d887b10dc5505cde /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 57808c44827852d40bbfc8cb0eb2c0d35b210d12 (diff) | |
[FIX] mass_mailing: sanitize test email
When sending the test email of a mass mailing campaign, it might be
observed that the result is different from the final email sent to
customers.
This is because the `body` field of the final mail message is an `Html`
field with options `sanitize_style=True` and `strip_classes=True`. On
the other hand, the `body_html` field the test mail is a simple `Text`
field which is not sanitized.
We sanitize the `body_html` field with similar options.
opw-1820064
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
