diff --git a/bits/81_writeods.js b/bits/81_writeods.js index a536e59..905913f 100644 --- a/bits/81_writeods.js +++ b/bits/81_writeods.js @@ -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':