Skip to content

Commit

Permalink
Normalize the sheet name
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Watson <jtwatson@linux-consulting.us>
  • Loading branch information
jtwatson committed Oct 6, 2022
1 parent 53a4955 commit eec38e8
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 eec38e8

Please sign in to comment.