5ad3451b371929c30f1593fe952a9534cd47161a
Since [1] when the search bar was refactored, a search facility was added on website pages and the rendering of those search results did not correctly handle the HTML escaping. This is related to the fact that the `ir_ui_view`'s `arch_db` field is stored with this double escaping on text nodes, which is done by `wysiwyg.js` through the `_getEscapedElement` method since [2]. This commit unescapes the last layer of `&` before extracting the page's text for generating the search results. Steps to reproduce: - Add some "&", "<" or ">" characters in a page. - Use the search snippet to lookup for the page. => The results in both autocomplete and the results pages display the content with an extra unwanted escaping (&...) [1]: https://github.com/odoo/odoo/commit/9f9c4bb7e40233e633f97c60fb00ae191e9077af [2]: https://github.com/odoo/odoo/commit/f5acea7f9ce232773ec3adf1828a3d18bbedee1e opw-2908645 closes odoo/odoo#97748 X-original-commit: 2b95dcdb0d8b49bac8ee38a8d062112468124012 Signed-off-by: Romain Derie (rde) <rde@odoo.com> Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%