[IMP] website_mail: actually render the html body of the template instead of escaping it

This commit is contained in:
David Monjoie 2014-10-22 15:38:11 +02:00
parent 4a65b61f2f
commit bf3251fd0a
1 changed files with 1 additions and 1 deletions

View File

@ -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-esc="html_sanitize(template.body_html)" class="email_preview js_content"/>
<div t-raw="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>