summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2016-02-10 14:46:59 +0100
committerRaphael Collet <rco@openerp.com>2016-02-10 16:10:18 +0100
commit0b27a371565fc229f2e82b2d7701e00229fe5051 (patch)
tree5ca094b7e73ae1420287c06994dfd2611e2a4314 /addons/web_editor/static/src/js/transcoder.js
parent669b6f7b3def8af10e68d320f120236c96d582b4 (diff)
[FIX] ir_translation: validate translation values and do not sanitize them
The value validation was de facto nullified by escaping invalid translations in `XMLTranslator.process_text`. Reimplement it by checking whether the translated term can be translated back to its source term in the field value. The sanitization of translated terms is now gone, as not all terms should be sanitized (like attribute values).
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions