<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Line break inputed by Shift+Enter doesn't properly export to TXT format"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127041">127041</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Line break inputed by Shift+Enter doesn't properly export to TXT format
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ming.v.hua@qq.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=153526" name="attach_153526" title="Example ODT file containing Shift+Enter line breaks">attachment 153526</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153526&action=edit" title="Example ODT file containing Shift+Enter line breaks">[details]</a></span>
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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>