Skip to content
Snippets Groups Projects
Commit 0b27a371 authored by Raphael Collet's avatar Raphael Collet
Browse files

[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).
parent 669b6f7b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment