From 7dbf88f221f278075d4ff9e153b21236d0826c33 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 29 Jul 2021 00:03:57 +0800 Subject: This closes #971, closes #972 and closes #974 - Escape XML character in the drop list - Fix incorrect character count limit in the drop list - Fix Excel time parse issue in some case - Fix custom number format month parse issue in some case - Fix corrupted file generated caused by concurrency adding pictures --- xmlWorksheet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlWorksheet.go') diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 4499546..a54d51b 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -436,8 +436,8 @@ type DataValidation struct { ShowInputMessage bool `xml:"showInputMessage,attr,omitempty"` Sqref string `xml:"sqref,attr"` Type string `xml:"type,attr,omitempty"` - Formula1 string `xml:",innerxml"` - Formula2 string `xml:",innerxml"` + Formula1 string `xml:"formula1,omitempty"` + Formula2 string `xml:"formula2,omitempty"` } // xlsxC collection represents a cell in the worksheet. Information about the -- cgit v1.2.1