Skip to content
Snippets Groups Projects
Commit 6cd42319 authored by Antoine Guenet's avatar Antoine Guenet
Browse files

[FIX] web_editor: properly clean zero-width spaces inserted for formats

When inserting a format with a collapsed selection, we need to insert a
zero-width space. It should not be saved so we need to isolate it and
put the "oe-zws-empty-inline" attribute on its parent so it gets cleaned
up by the sanitizer.

X-original-commit: 4ce274ba39cd8046b9ef4e0b99df66913375f993
Part-of: odoo/odoo#86930
parent f41c3e4a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment