summaryrefslogtreecommitdiff
path: root/addons/purchase/data/mail_template_data.xml
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2016-01-20 10:28:23 +0100
committerNicolas Lempereur <nle@odoo.com>2016-01-20 14:13:56 +0100
commit6dde919bb9850912f618b561cd2141bffe41340c (patch)
tree68cf27899d895dc8888dbc913bfe8d6abcd5dd4e /addons/purchase/data/mail_template_data.xml
parent4bfc2799bd3d851c404e74318cac819e5fdedc5a (diff)
[FIX] mail: don't autoescape mail subject
The mail template rendering system use "autoescape" for subject, body, email_to, ... Using autoescape is good for the body, but for the subject it means variables insertions have to be marked as safe. This commit add another environment without autoescaping enabled for the subject field. From https://tools.ietf.org/html/rfc2822: The "Subject:" and "Comments:" fields are unstructured fields as defined in section 2.2.1, and therefore may contain text or folding white space. 2.2.1. Unstructured Header Field Bodies Some field bodies in this standard are defined simply as "unstructured" (which is specified below as any US-ASCII characters, except for CR and LF) with no further restrictions. closes #10547 opw-659231 opw-666801 opw-665863
Diffstat (limited to 'addons/purchase/data/mail_template_data.xml')
0 files changed, 0 insertions, 0 deletions