From bee487c445768b8afd15bbfa7caa4d8427e4c880 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Tue, 28 Mar 2017 11:48:09 +0800 Subject: Leading space(s) character in cell value detection added. Related issue #32. --- xmlWorksheet.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xmlWorksheet.go') diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 5919edb..f7188b6 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -302,9 +302,10 @@ type xlsxC struct { R string `xml:"r,attr"` // Cell ID, e.g. A1 S int `xml:"s,attr,omitempty"` // Style reference. // Str string `xml:"str,attr,omitempty"` // Style reference. - T string `xml:"t,attr,omitempty"` // Type. - F *xlsxF `xml:"f,omitempty"` // Formula - V string `xml:"v,omitempty"` // Value + T string `xml:"t,attr,omitempty"` // Type. + F *xlsxF `xml:"f,omitempty"` // Formula + V string `xml:"v,omitempty"` // Value + XMLSpace xml.Attr `xml:"space,attr,omitempty"` } // xlsxF directly maps the f element in the namespace -- cgit v1.2.1