From f958f05a3bf6f9fdc7f76539d9a3b24f49cc2694 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Mon, 26 Dec 2016 23:55:59 +0800 Subject: - Fix issue: sheet protection and conditional formatting proprietary missing after save; - Update workbook and sheet relationships and self-close tag replacement hack functions --- lib.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index 03fc8f2..6ad3175 100644 --- a/lib.go +++ b/lib.go @@ -7,7 +7,6 @@ import ( "io" "log" "math" - "strings" ) // ReadZip takes a pointer to a zip.ReadCloser and returns a @@ -28,7 +27,7 @@ func ReadZipReader(r *zip.Reader) (map[string]string, int, error) { if len(v.Name) > 18 { if v.Name[0:19] == `xl/worksheets/sheet` { var xlsx xlsxWorksheet - xml.Unmarshal([]byte(strings.Replace(fileList[v.Name], `