Description: Hi, I have got a title which includes a non-breaking space. When I make a cross-reference link on it, everythig seems OK. But if I try to change the character background color, it's not applied to the non-breaking space. Steps to Reproduce: 1. Create a text file 2. Add a title including a non-breaking space 3. Somewhere else, add a cross-reference link to this title 4. Select the whole link 4. Under Format/Character, add a (not white) background color 5. Go to view, export to PDF or print Actual Results: The non-breaking space appears without background color on view, PDF export and paper print. Expected Results: The non-breaking space should appear with background color on view, PDF export and paper print. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: x11 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Debian package version: 4:25.2.3-2 Calc: threaded
Created attachment 202278 [details] Example of the bug Sample of cross-reference with bug in ODT format
Created attachment 202285 [details] Sample with text in English with added variants. If there is a following character with the same highlighting color, the no-break space takes this color.
Reproducible with: Versión: 6.4.7.2 (x64) Id. de compilación: 639b8ac485750d5696d7590a72ef1b496725cfb5 Subprocs. CPU: 12; SO: Windows 10.0 Build 17763; Repres. IU: GL; VCL: win; Configuración regional: es-AR (es_AR); Idioma de IU: es-ES Calc: threaded Version: 24.8.7.2 (X86_64) / LibreOffice Community Build ID: e07d0a63a46349d29051da79b1fde8160bab2a89 CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 17763); UI render: Skia/Vulkan; VCL: win Locale: es-MX (es_AR); UI: en-US Calc: threaded
(In reply to LeroyG from comment #2) > If there is a following character with the same highlighting color, the > no-break space takes this color. Confirmed here. Very strange behavior but may be a sort of workaround (not entirely because you need to add a special character) Tried also with another non-breaking space: it works!