diff --git a/bits/81_writeods.js b/bits/81_writeods.js
index e43e05a..450ba8d 100644
--- a/bits/81_writeods.js
+++ b/bits/81_writeods.js
@@ -24,7 +24,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = (function() {
return escapexml(text)
.replace(/ +/g, function($$){return '';})
.replace(/\t/g, "")
- .replace(/\n/g, "")
+ .replace(/\n/g, "")
.replace(/^ /, "").replace(/ $/, "");
};