summaryrefslogtreecommitdiff
path: root/odoo/tools/mail.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-05-08 17:18:48 +0200
committerChristophe Simonis <chs@odoo.com>2018-05-08 17:18:48 +0200
commitd3a040cebe11c30697aebbafeb7d52888d3bff70 (patch)
tree14844d641d7603fcbdc277bf383a07208dc271e1 /odoo/tools/mail.py
parent89819c6f420fb6ef2cdb963527c0a5fa2f6df02b (diff)
parent1813f42dbcca4779fb6e07a9b65e863f0d513dcc (diff)
[MERGE] forward port branch saas-14 up to 1813f42dbcc
Diffstat (limited to 'odoo/tools/mail.py')
-rw-r--r--odoo/tools/mail.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/odoo/tools/mail.py b/odoo/tools/mail.py
index e1a4eeb9c54..d994494e727 100644
--- a/odoo/tools/mail.py
+++ b/odoo/tools/mail.py
@@ -44,11 +44,12 @@ class _Cleaner(clean.Cleaner):
_style_whitelist = [
'font-size', 'font-family', 'font-weight', 'background-color', 'color', 'text-align',
'line-height', 'letter-spacing', 'text-transform', 'text-decoration',
+ 'float', 'vertical-align',
'padding', 'padding-top', 'padding-left', 'padding-bottom', 'padding-right',
- 'margin', 'margin-top', 'margin-left', 'margin-bottom', 'margin-right'
+ 'margin', 'margin-top', 'margin-left', 'margin-bottom', 'margin-right',
# box model
- 'border', 'border-color', 'border-radius', 'border-style', 'height',
- 'margin', 'padding', 'width', 'max-width', 'min-width',
+ 'border', 'border-color', 'border-radius', 'border-style', 'border-width',
+ 'height', 'margin', 'padding', 'width', 'max-width', 'min-width',
# tables
'border-collapse', 'border-spacing', 'caption-side', 'empty-cells', 'table-layout']