Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inlineStr cell type support #1575 #1576

Merged
merged 5 commits into from
Sep 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
inlineStr cell type support #1575
  • Loading branch information
drdmitry committed Dec 28, 2020
commit 23b12b23372be3834230580a7c1f3c2d3d8a493d
7 changes: 7 additions & 0 deletions lib/stream/xlsx/worksheet-reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ class WorksheetReader extends EventEmitter {
current = c.v = {text: ''};
}
break;
case 'is':
case 't':
if (c) {
current = c.v = {text: ''};
}
break;
case 'mergeCell':
break;
default:
Expand Down Expand Up @@ -307,6 +313,7 @@ class WorksheetReader extends EventEmitter {
break;
}

case 'inlineStr':
case 'str':
cell.value = utils.xmlDecode(c.v.text);
break;
Expand Down