From 57051326d06cea02774dc0ace3293906ec5f281e Mon Sep 17 00:00:00 2001 From: Joseph Watson Date: Fri, 7 Oct 2022 00:11:59 -0400 Subject: [PATCH] This closes #1365, normalize the sheet name (#1366) Signed-off-by: Joseph Watson --- sheet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sheet.go b/sheet.go index 73e7501..6ec9aef 100644 --- a/sheet.go +++ b/sheet.go @@ -457,6 +457,7 @@ func (f *File) getSheetXMLPath(sheet string) (string, bool) { name string ok bool ) + sheet = trimSheetName(sheet) for sheetName, filePath := range f.sheetMap { if strings.EqualFold(sheetName, sheet) { name, ok = filePath, true