ODS do not use text:line-break [ci skip]

This commit is contained in:
jefleponot 2021-09-13 08:02:38 +02:00
parent af47faa292
commit b03ad9d40c

@ -24,7 +24,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = (function() {
return escapexml(text)
.replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';})
.replace(/\t/g, "<text:tab/>")
.replace(/\n/g, "<text:line-break/>")
.replace(/\n/g, "</text:p><text:p>")
.replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>");
};