diff options
| author | Raphael Collet <rco@openerp.com> | 2016-01-07 11:32:03 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-01-25 15:10:16 +0530 |
| commit | 6872aae8ef9c1a1fc6a8283aa9d12ce3a6859157 (patch) | |
| tree | feb2975a36b11cb018bc8e6c33998adada2f7794 /addons/web/static/src | |
| parent | 6a6827e85b2336c4b0214006b80cf34f13ff345a (diff) | |
[FIX] tools: do not crash on wrong translations in view
During the construction a xml/html_translate content, in case of a wrongly
translated part (e.g. not correctly escaped char or bad xml tag), escape the
translation.
The verification is done during the rendering on the view which is not the most
optimal solution but has the advantage of working on system with some broken
translations and does not requires to reload the translations.
In master version, the verification could be done when loading the .po files.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
