diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-01-02 13:55:07 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-01-03 15:01:10 +0000 |
| commit | 7f8631a913de7aebb9b9543309711812bfa5934b (patch) | |
| tree | 1c8f0514580a0c7a54813a20df7c4aabfb0e5731 /addons/web/static/src/js/views/basic | |
| parent | cd4080839f501ad01bda59c8ead1184fb3cdd48e (diff) | |
[FIX] tools: properly verify the size of HTML nodes
Instead of checking the size of text only node, let the xml_translate verify it.
The size verification using etree was introduced at 40efdccc3d1e1f070c9 but was
probably too simple.
Since 45352512a842, this becomes redundant with the nonspace method which can
be extended.
The re.sub is still relevant as some terms may contain only non-alphanumeric and
use push_translation (e.g. '>=' as a selection or xml terms extracted by babel
in static repository)
closes odoo/odoo#29432
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
