[Libreoffice-bugs] [Bug 113726] New: Trailing space in cell text not encoded as <text:s/>
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 9 01:22:53 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113726
Bug ID: 113726
Summary: Trailing space in cell text not encoded as <text:s/>
Product: LibreOffice
Version: 5.3.3.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: achurch+dfo at achurch.org
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171109/38daf89d/attachment.html>
More information about the Libreoffice-bugs
mailing list