need to lowercase here
This commit is contained in:
parent
03e948fe3c
commit
3057c3d255
1 changed files with 2 additions and 1 deletions
3
fun.go
3
fun.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue