projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03af44b
)
[FIX] website_mail: t-field replace by t-esc as html_sanitize applied on the field
author
Denis Ledoux
<dle@odoo.com>
Mon, 29 Sep 2014 13:03:13 +0000
(15:03 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Mon, 29 Sep 2014 13:03:13 +0000
(15:03 +0200)
addons/website_mail/views/website_email_designer.xml
patch
|
blob
|
history
diff --git
a/addons/website_mail/views/website_email_designer.xml
b/addons/website_mail/views/website_email_designer.xml
index
6f64fd3
..
c807e75
100644
(file)
--- a/
addons/website_mail/views/website_email_designer.xml
+++ b/
addons/website_mail/views/website_email_designer.xml
@@
-24,7
+24,7
@@
</div>
<div t-foreach="templates" t-as="template" class="col-md-3 col-sm-4 text-center">
<div class="email_preview_border">
- <div t-field="html_sanitize(template.body_html)" class="email_preview js_content"/>
+ <div t-esc="html_sanitize(template.body_html)" class="email_preview js_content"/>
</div>
<h4 t-field="template.name"/>
<button class="btn btn-primary js_template_set">Select</button>