| The WYSIWYG editor is automatically generating non breaking spaces ( ) in some situations which impacts the display of the paragraph containing the nbsp characters. See an example of the impact of one nbsp character on the display of a paragraph, and it's worse when there are several of them.  Note that I noticed this issue after an upgrade of XWiki from version 9.8.1 to 16.10.5. I tested on a fresh XWiki 9.8.1 instance and I did not reproduce. Steps to reproduce XWiki version : 16.10.5 Chrome Version 143.0.7499.41 (Official Build) (arm64)
- Edit a wiki page using WYSIWYG editor
- Insert some text with a link and save the page (example : "Some dummy text") with a link on "dummy" word. See screenshot

- Edit the page again and remove the 2 last characters of the word before the link, in our case remove letters "me" from word "Some"
- Save and view the page
Expected result : the text is updated without any " " character added. Current result : an " " character is added before the link, see screenshot.  Note that the same behavior can be observed if you use formatting instead of links (bold, italic, ...) |