[ODS] multiple space characters are not parsed correctly #835
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#835
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
example.zip contains a simple .ODS file which has a text with 3 spaces enclosed in square braces.
SheetJS is not parsing multiple space characters correctly. There should be 3 space characters but it has parsed only 1 space character.
Expected:
Actual:
The cell in question has the XML representation
https://github.com/SheetJS/js-xlsx/blob/master/bits/80_parseods.js#L5 removes those tags with the
c
attribute, but the parameter should be parsed.Thanks a lot! If you are feeling up for it @gttds there are a few other tags encoding whitespace:
text:tab
andtext:line-break
. Here is the relevant part from the spec:ODv12Part1pp120_121.pdf