<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 - Trailing space in cell text not encoded as <text:s/>"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113726">113726</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Trailing space in cell text not encoded as <text:s/>
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.3.2 release
</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>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>achurch+dfo@achurch.org
</td>
</tr></table>
<p>
<div>
<pre>If a cell contains a trailing space, the space is copied literally to the
content of the <text:p> tag for the cell rather than being encoded as a
<text:s/> tag:
<office:document-content ...>
...
<table:table-cell office:value-type="string" calcext:value-type="string">
<text:p><text:s/>spaces </text:p>
</table:table-cell>
...
</office:document-content>
I'm not familiar with the ODS spec so I don't know whether a literal space is
permitted in this context, but at least some versions of Excel seem to discard
the space. (LibreOffice itself preserves the space without problems.)
To reproduce, create a new Calc document, enter the text " spaces " in the
first cell, and save as ODS.</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>