Skip to content

Commit

Permalink
Normalize the sheet name
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwatson committed Oct 6, 2022
1 parent 53a4955 commit bbdd0a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sheet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbdd0a3

Please sign in to comment.