Closed sergesku closed 5 months ago
Thanks @sergesku I'll take a look into it soon.
P.S. We still create CellValue as CellText, not as CellRich.
Do you mean that for the streamed parser? Would you mind adding that as a know TODO? Probably to the function you changed The PR looks good
Do you mean that for the streamed parser?
Yes. Thus, if we have a cell with a Rich Text value in an a file, at the exit from the stream parser we have a regular CellText value.
Thanks @sergesku for your contribution I plan to put this on Hackage after #177 will land on master.
At the moment
Codec.Xlsx.Parser.Stream.parseSharedStrings
implementation incorrectly parses shared strings values: it creates a separate values for each formatted piece of text. This creates skewed data in the result.Here is an example of failing test:
This PR fixes this behavior. Now we parse a shared string as a single cell value.
P.S. We still create
CellValue
as CellText, not as CellRich.