diff options
author | xuri <xuri.me@gmail.com> | 2020-02-15 16:34:47 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-02-15 16:34:47 +0800 |
commit | 52f1eee7c487a086756bda857bb6390f8b4a0ffe (patch) | |
tree | aab3475d3c2b1f82bc0c69472ebb5b2e1f106ec4 /xmlWorksheet.go | |
parent | 023dba726510a4a7a97838ac9a8f4292a90aa227 (diff) |
Fix #578, escape character in the formula
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 46253e6..dda1b78 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -475,7 +475,7 @@ func (c *xlsxC) hasValue() bool { // http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have // not checked it for completeness - it does as much as I need. type xlsxF struct { - Content string `xml:",innerxml"` + Content string `xml:",chardata"` T string `xml:"t,attr,omitempty"` // Formula type Ref string `xml:"ref,attr,omitempty"` // Shared formula ref Si string `xml:"si,attr,omitempty"` // Shared formula index |