https://bugs.documentfoundation.org/show_bug.cgi?id=127041

            Bug ID: 127041
           Summary: Line break inputed by Shift+Enter doesn't properly
                    export to TXT format
           Product: LibreOffice
           Version: 6.2.6.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 153526
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153526&action=edit
Example ODT file containing Shift+Enter line breaks

According to the help files, Shift+Enter inserts a line break without making a
new paragraph.  I use this feature a lot, often for a few short items when I
don't want to use a bullet list.

However I found out that if I export an ODT file containing such line breaks to
TXT format on Windows, I get text files with mixed LF and CR+LF line breaks. 
The normal - with new paragraphs - line breaks export to the expected Windows
CR+LF line breaks, while the Shift+Enter line breaks export to LF-only line
breaks.

This is problematic because notepad.exe doesn't recognize LF-only line breaks,
and as a result my list of short items all end up in one single line when
viewed in Notepad.

This most likely doesn't affect Linux as it uses LF line breaks only.  I'm not
sure what the behavior is on Mac.

My LO version info:
Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to