Skip to content

Commit

Permalink
Update shared-string-xform.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nvitaterna committed May 18, 2016
1 parent cf1257a commit 75741ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/xlsx/xform/shared-string-xform.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ var SharedStringXform = module.exports = function(model) {
utils.inherits(SharedStringXform, BaseXform, {

write: function(xmlStream, model) {
model = model || this.model;
if (model === undefined || model === null)
model = this.model;


xmlStream.openNode('si');
if (model.richText) {
var r = this.map.r;
Expand Down

0 comments on commit 75741ca

Please sign in to comment.