Present tags more nicely

This commit is contained in:
2022-05-27 22:00:24 +09:30
parent cbe455b566
commit f8060fbef6
3 changed files with 6 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ func cleanupTags(tags []string) []string {
keys := make(map[string]struct{})
for _, k := range tags {
if k != "" && k != "|" {
keys[k] = struct{}{}
keys[strings.ToLower(k)] = struct{}{}
}
}
out := []string{}