diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-06-08 11:38:01 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-06-12 15:39:25 +0000 |
| commit | a8e9a8181442d2e5aaa1b60bf38e373d4ae1715c (patch) | |
| tree | 9cdad01b753b28ec07b7331db1bb3f615f5ea5a8 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | b4b0828e25fc59f58a054e679841e87a3c921fd2 (diff) | |
[FIX] web_editor: translatable after pasted translation
Fixes same issue as b836e00d70d but for `<div/>` tag.
When we translate html content, all text and (currently) this subset of
inline tags are allowed inside translations: 'abbr', 'b', 'bdi', 'bdo',
'br', 'cite', 'code', 'data', 'del', 'dfn', 'em', 'font', 'i', 'ins',
'kbd', 'keygen', 'mark', 'math', 'meter', 'output', 'progress', 'q',
'ruby', 's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'time',
'u', 'var', 'wbr', 'text'.
In b836e00d70d an issue was fixed that `<p/>` would possibly get inside
translation when copy-pasting, testing some scenario in current chromium
browser (83.0) it seems the pasted content contains `<div/>` tags.
opw-2259367
opw-2260711
closes #52592
closes odoo/odoo#52932
X-original-commit: eed9fb771521143c0b514d96b5efdcb9715051f0
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
