Files
odoo_source/addons
abd-msyukyu-odoo e6497fb0e8 [IMP] web_editor: ignore data-behavior-props for sanitize
DOMPurify.sanitize removes an attribute that contains a ">" for security
reasons. Make an exception for `data-behavior-props`.

That exception allows Embedded views in Knowledge to store a JSON object
containing the act_window data used to render it as an attribute of the
HTMLElement where it is supposed to be rendered (The view contents are
not saved in the html_field value).

More generally, data-behavior-props should be used when storing properties for a
Behavior Component (see Knowledge module) is required.

Prepares Task-2796156
Prepares odoo/enterprise#29423

X-original-commit: aeb9df5247a3936b1397d8056c1725a1de660b6a
Part-of: odoo/odoo#101694
2022-09-30 10:33:02 +02:00
..
2022-09-30 09:31:52 +02:00
2022-09-20 13:48:49 +02:00
2022-09-20 13:48:49 +02:00
2022-09-30 09:31:52 +02:00
2022-09-27 18:14:57 +02:00
2022-09-01 21:25:29 +02:00
2022-09-20 13:48:49 +02:00
2022-09-30 09:31:52 +02:00
2022-09-24 15:00:56 +02:00
2022-09-20 13:48:49 +02:00
2022-09-30 09:31:52 +02:00
2022-09-30 09:31:52 +02:00
2022-09-24 15:00:56 +02:00