Description: If you use no-break space (Menu/Insert/Formatting Mark) in a text, which you Set as reference (Fields/Cross-reference/Type), the no-break space does not work correctly. Steps to Reproduce: 1. Write text, turn on Fields shadings (Menu/View) 2. Set some cross-references 3. Use normal space/no-break space (see attachment, in my case affected referenced text: "..Pr No..") Actual Results: No-break space is: 1. not included in the referenced text, a normal space is used, which cause the division of the text to be put together 2. not shaded in set reference - text (which looks like broken reference text or 2 separate referenced texts) Expected Results: No-break space should be: 1. included in the referenced text, with no division of the text to be put together 2. shaded Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.4.2 (X86_64) / LibreOffice Community Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002 CPU threads: 16; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster;
Created attachment 198582 [details] test file
Looks like a duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=39754
*** This bug has been marked as a duplicate of bug 39754 ***