diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-02-08 18:08:17 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-02-10 16:10:18 +0100 |
| commit | 669b6f7b3def8af10e68d320f120236c96d582b4 (patch) | |
| tree | affcc091fe2f5d9d2df6072d30c52ccec854aa85 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 47bb1bd2257c7af5ae68b9bb23455dd1bd21644c (diff) | |
[FIX] tools: less strict evaluation of translations
Do not parse the translation of an attribute value. The content of a
translatable node attribute (such as 'string') should not be tested for
XML/HTML validity: the value can contain special chars such as `&` in its
source and should not be escaped when evaluated.
This fixes escaped page title in the partner form
`Sales & Purchases` => `Ventes & Achats`
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
