Created attachment 203775 [details] Example file from Word with line break This is similar to bug 151370 When a document variable in RTF contains a line break in its value, it is imported in Writer without the line break. When the docm file I used to make the example document is opened, then it is imported with the line break. 1. Open attached RTF document -> the document variable value "árvízturotükörfúrógép" is not broken in two lines 2. Open attached DOCM document (adapted from the example file of bug 151370) -> the document variable value "árvízturo tükörfúrógép" is broken in two lines like above. Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 16; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win Locale: de-DE (hu_HU); UI: en-US Calc: threaded
Created attachment 203776 [details] The example file in Word 2016 and Writer side by side
Created attachment 203777 [details] The example file in DOCM format, used to create the RTF from
The docm version is good since bug 164176 although there the bad display contained an extra _x000d__x000a_ instead of eating the line break.
I can reproduce in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded