Skip to content

Commit 57b296e

Browse files
Added fix for null value cell.v (#1730)
Closes #1717
1 parent 6dc5e88 commit 57b296e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bits/81_writeods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = (function() {
7878
ct['office:value'] = (cell.v||0);
7979
break;
8080
case 's': case 'str':
81-
textp = cell.v;
81+
textp = cell.v == null ? "" : cell.v;
8282
ct['office:value-type'] = "string";
8383
break;
8484
case 'd':

0 commit comments

Comments
 (0)