We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770edd1 commit 839cce9Copy full SHA for 839cce9
cli/aozora-bunko/facade/lookup-book.go
@@ -30,7 +30,7 @@ var contentMap = map[ContentType]string{
30
31
func NewContent(s string) ContentType {
32
for k, v := range contentMap {
33
- if strings.ToLower(s) == strings.ToLower(v) {
+ if strings.EqualFold(s, v) {
34
return k
35
}
36
0 commit comments