Skip to content

Commit

Permalink
fix: title should not be svg but icon name
Browse files Browse the repository at this point in the history
  • Loading branch information
LelouchFR committed May 6, 2024
1 parent b473cfb commit d8ff63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func generateSvg(iconNames []string, perLine int, hasTitlesEnabled bool) string
for index, i := range iconSvgList {
var title string
if hasTitlesEnabled {
title = fmt.Sprintf("<title>%s</title>", i)
title = fmt.Sprintf("<title>%s</title>", iconNames[index])
}

x := (index % perLine) * 300
Expand Down

0 comments on commit d8ff63d

Please sign in to comment.