[FIX] base, web_editor, website: add missing encoding on etree.tostring
Since lxml 4.5.0 that use now use libxml2 2.9.10, without it, it can crash. Here sample of content that is broken: https://drive.google.com/file/d/1gB2-jl4fabHscLjH9OZc4WZgtSEbCVj7/view?usp=sharing note: this commit is to merge 3 changes of #64526 opw-2428617 opw-2428664 closes odoo/odoo#66883 X-original-commit: 38983d12 Signed-off-by:Nicolas Lempereur (nle) <nle@odoo.com>
Showing
- addons/web_editor/models/ir_ui_view.py 1 addition, 1 deletionaddons/web_editor/models/ir_ui_view.py
- addons/website/models/website_snippet_filter.py 1 addition, 1 deletionaddons/website/models/website_snippet_filter.py
- odoo/addons/base/models/qweb.py 1 addition, 1 deletionodoo/addons/base/models/qweb.py
Loading
Please register or sign in to comment