Skip to content
Merged
Changes from all commits
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
do not skip empty string in shared strings so that indexes match
  • Loading branch information
Tomas Pokorny committed Nov 28, 2016
commit 388ec40fab8f56cd1851a2493c0f4dc21f2fe2b2
2 changes: 1 addition & 1 deletion lib/xlsx/xform/strings/shared-string-xform.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ utils.inherits(SharedStringXform, BaseXform, {
model.richText.forEach(function(text) {
r.render(xmlStream, text);
});
} else if (model) {
} else if (model !== undefined && model !== null) {
this.map.t.render(xmlStream, model);
}
xmlStream.closeNode();
Expand Down