diff options
author | xuri <xuri.me@gmail.com> | 2020-07-01 22:41:29 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-07-01 22:41:29 +0800 |
commit | f7bd0729c65fc82305328f7ac8fbaf329d1075c0 (patch) | |
tree | c8eb5e0fbef268d217acbd3e8cfb76c44ac81fee /rows.go | |
parent | 1cbb05d4977fc1c03fa37d704118fd9c722e487d (diff) |
Resolve #32, fix missing leading/leading spaces when working with SST
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -292,8 +292,8 @@ func (f *File) sharedStringsReader() *xlsxSST { } f.SharedStrings = &sharedStrings for i := range sharedStrings.SI { - if sharedStrings.SI[i].T != "" { - f.sharedStringsMap[sharedStrings.SI[i].T] = i + if sharedStrings.SI[i].T != nil { + f.sharedStringsMap[sharedStrings.SI[i].T.Val] = i } } f.addContentTypePart(0, "sharedStrings") |