Added fix for null value cell.v (#1730)

Closes #1717
This commit is contained in:
geoffrymichael 2020-07-06 13:42:59 -07:00 committed by GitHub
parent 6dc5e88a44
commit 57b296e5b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,7 +78,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = (function() {
ct['office:value'] = (cell.v||0);
break;
case 's': case 'str':
textp = cell.v;
textp = cell.v == null ? "" : cell.v;
ct['office:value-type'] = "string";
break;
case 'd':