diff options
author | vst <vst93g@Gmail.com> | 2021-12-30 00:36:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 00:36:04 +0800 |
commit | c5990ea3484932fd6066c04e36c63735889a8228 (patch) | |
tree | ad987a216ef7deed31dc75edfe3c9c28ac37840f /cell.go | |
parent | 89b85934f60ba0012f3de6da03eb12959e4b4b72 (diff) |
Preserve horizontal tab character when set the cell value (#1108)
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -409,7 +409,7 @@ func setCellStr(value string) (t string, v string, ns xml.Attr) { } if len(value) > 0 { prefix, suffix := value[0], value[len(value)-1] - for _, ascii := range []byte{10, 13, 32} { + for _, ascii := range []byte{9, 10, 13, 32} { if prefix == ascii || suffix == ascii { ns = xml.Attr{ Name: xml.Name{Space: NameSpaceXML, Local: "space"}, |