need to lowercase here

This commit is contained in:
Ted Unangst 2019-08-27 22:25:02 -04:00
parent 03e948fe3c
commit 3057c3d255
1 changed files with 2 additions and 1 deletions

3
fun.go
View File

@ -374,7 +374,8 @@ func ontologize(s string) string {
p = h[:1]
h = h[1:]
}
return fmt.Sprintf(`%s<a href="https://%s/o/%s">%s</a>`, p, serverName, h[1:], h)
return fmt.Sprintf(`%s<a href="https://%s/o/%s">%s</a>`, p, serverName,
strings.ToLower(h[1:]), h)
})
return s
}