diff --git a/bits/80_parseods.js b/bits/80_parseods.js
index 87e2cad..f8ad1a4 100644
--- a/bits/80_parseods.js
+++ b/bits/80_parseods.js
@@ -2,7 +2,7 @@
var parse_content_xml = (function() {
var parse_text_p = function(text, tag) {
- return unescapexml(text.replace(//g," ").replace(/<[^>]*>/g,""));
+ return unescapexml(text.replace(//g," ").replace(//g, function($$,$1) { return Array(parseInt($1)+1).join(" "); }).replace(/<[^>]*>/g,""));
};
var number_formats = {
diff --git a/xlsx.flow.js b/xlsx.flow.js
index 541a943..d6fc134 100644
--- a/xlsx.flow.js
+++ b/xlsx.flow.js
@@ -17004,7 +17004,7 @@ function table_to_book(table/*:HTMLElement*/, opts/*:?any*/)/*:Workbook*/ {
var parse_content_xml = (function() {
var parse_text_p = function(text, tag) {
- return unescapexml(text.replace(//g," ").replace(/<[^>]*>/g,""));
+ return unescapexml(text.replace(//g," ").replace(//g, function($$,$1) { return Array(parseInt($1)+1).join(" "); }).replace(/<[^>]*>/g,""));
};
var number_formats = {
diff --git a/xlsx.js b/xlsx.js
index 813122e..59280c5 100644
--- a/xlsx.js
+++ b/xlsx.js
@@ -16906,7 +16906,7 @@ function table_to_book(table, opts) {
var parse_content_xml = (function() {
var parse_text_p = function(text, tag) {
- return unescapexml(text.replace(//g," ").replace(/<[^>]*>/g,""));
+ return unescapexml(text.replace(//g," ").replace(//g, function($$,$1) { return Array(parseInt($1)+1).join(" "); }).replace(/<[^>]*>/g,""));
};
var number_formats = {