Fix #578, escape character in the formula

formula
xuri 5 years ago
parent 023dba7265
commit 52f1eee7c4
No known key found for this signature in database
GPG Key ID: BA5E5BB1C948EDF7

@ -475,7 +475,7 @@ func (c *xlsxC) hasValue() bool {
// http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have // http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have
// not checked it for completeness - it does as much as I need. // not checked it for completeness - it does as much as I need.
type xlsxF struct { type xlsxF struct {
Content string `xml:",innerxml"` Content string `xml:",chardata"`
T string `xml:"t,attr,omitempty"` // Formula type T string `xml:"t,attr,omitempty"` // Formula type
Ref string `xml:"ref,attr,omitempty"` // Shared formula ref Ref string `xml:"ref,attr,omitempty"` // Shared formula ref
Si string `xml:"si,attr,omitempty"` // Shared formula index Si string `xml:"si,attr,omitempty"` // Shared formula index

Loading…
Cancel
Save