forked from sheetjs/sheetjs
ODS do not use text:line-break [ci skip]
This commit is contained in:
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/>");
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user