summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2017-01-02 15:16:18 +0100
committerGitHub <noreply@github.com>2017-01-02 15:16:18 +0100
commit45352512a842e4193f09d11cf8517e3844eba4d1 (patch)
treeedc3624b41482cf7816cff92e19bf9a1e77d58d9 /addons/web_editor/static/src
parent47536a3f7d53f8120c78003719294fa95e69ecd9 (diff)
[REF] translate: rewrite XML translator to handle namespaces gracefully (#14816)
The class `XMLTranslator` is replaced by a function `translate_xml_node` that takes an XML node and returns the translated XML node. The translation process is done by a recursive function on XML nodes that returns the untranslated node if it can be translated inline, or the translated node otherwise.
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions