<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 - DOCX IMPORT: line break appears in a specific document that is absent in Word"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108806">108806</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>DOCX IMPORT: line break appears in a specific document that is absent in Word
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>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>mikekaganski@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=134305" name="attach_134305" title="A sanitized DOCX that has no line breaks in Word">attachment 134305</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=134305&action=edit" title="A sanitized DOCX that has no line breaks in Word">[details]</a></span>
A sanitized DOCX that has no line breaks in Word
The attachment does not have a line break in Word. Its single paragraph reads
<span class="quote">> First part of a line (before CRLF). Second part of the same line (after CRLF).</span >
When open in LO, it is split into two lines separated by a line break:
<span class="quote">> First part of a line (before CRLF).
> Second part of the same line (after CRLF).</span >
This happens because there is a line break (CRLF) in the markup (document.xml)
that is converted into space by Word, but treated as line break by LibreOffice.
Word behavior should be considered correct, as described at
<a href="https://msdn.microsoft.com/en-us/library/ms256097">https://msdn.microsoft.com/en-us/library/ms256097</a> and ECMA-376-1:2016 17.3.3.31
(although I didn't find documentation specifically discussing CRLF in
WordprocessingML). This is consistent with xml:space="preserve" attribute used
in the file, as documented at <a href="https://www.w3.org/TR/xml/#sec-white-space">https://www.w3.org/TR/xml/#sec-white-space</a>.</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>