Description: In a justified paragraph, it ends with the image of a LaTeX formula that returns the symbol of an SI unit, namely the letter W corresponding to the watt, and this image is inserted between two parentheses, which therefore gives at the end of the last line of said paragraph: (W). If I add a full stop after the closing parenthesis, as it should, LibreOffice returns it and the full stop to the next line. Steps to Reproduce: 1.Create a paragraph of several lines, the last of which ends with a word in front of a closing parenthesis followed by a full stop. 2. 3. Actual Results: The closing parenthesis and the full stop are returned alone to the next line (untimely break of the whole). Expected Results: Justify the lines of the paragraph to avoid this break. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.4.2 (X86_64) / LibreOffice Community Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002 CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: threaded
Created attachment 199039 [details] Contains the paragraph (the first) whose last line contains the break.
Version 25.2.1.2 Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49 CPU threads: 8; OS: Windows 11 x86_64 UI render: Skia/Raster; VCL: win Locale: en-US; UI: en-US Calc: threaded Bug confirmed. Justified behavior works as expected (element stays attached to the parentheses) when the element before the closing parenthesis is a word or character, but when the LaTeX formula is inserted, it breaks before the parenthesis.