Files
odoo_source/addons/web_editor
Sébastien Geelen (sge) 335dd9a1e4 [FIX] web_editor: delete comment nodes on sanitize
During `to_inline` process, the document will be transformed to be email friendly.
This can add some `<!-- mso -->` comment into the document.

These comments nodes will create issues during future edition,
if we keep them in the editable.

So we add a sanitize step to remove all comments nodes.

task-3222474

closes odoo/odoo#124020

X-original-commit: b85a29d9ba36aaaa90e514ba45d1054b693a26e2
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Geelen Sébastien (sge) <sge@odoo.com>
2023-06-07 08:59:10 +02:00
..
…
2023-05-12 22:59:22 +02:00