-
- Downloads
[FIX] web_editor: translatable after pasted translation
Fixes same issue as b836e00d 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 b836e00d 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: eed9fb77 Signed-off-by:Nicolas Lempereur (nle) <nle@odoo.com>
Please register or sign in to comment