This closes #1365, normalize the sheet name (#1366)

Signed-off-by: Joseph Watson <jtwatson@linux-consulting.us>
pull/2/head
Joseph Watson 2 years ago committed by GitHub
parent 53a495563a
commit 57051326d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -457,6 +457,7 @@ func (f *File) getSheetXMLPath(sheet string) (string, bool) {
name string name string
ok bool ok bool
) )
sheet = trimSheetName(sheet)
for sheetName, filePath := range f.sheetMap { for sheetName, filePath := range f.sheetMap {
if strings.EqualFold(sheetName, sheet) { if strings.EqualFold(sheetName, sheet) {
name, ok = filePath, true name, ok = filePath, true

Loading…
Cancel
Save