Daily updates from Odoo
Wednesday, December 31, 2025
1 change · master
Code cleanup and technical improvements
This update adds helpful tools to safely extract and work with HTML content from various Odoo modules (AI, Sign, Social, Live Chat). Previously, developers had to manually ensure HTML was properly formatted, which could introduce security risks. These new utilities provide a safer and more reliable way to handle HTML, improving overall system stability and security.
Original PR description
\* = ai, sign, social, website_helpdesk_livechat The goal is to remove as much as possible the need to manually use `markup()` as a function by providing safe utils instead. Getting inner or outer HTML is a common operation which should always be wrapped in a markup as we always want to store (safe) HTML string inside markup to follow good practices and be compliant with the other utils. https://github.com/odoo/odoo/pull/216149