unlink tag links... sigh.

This commit is contained in:
Ted Unangst 2019-09-01 18:04:30 -04:00
parent aeee47c758
commit b1f7c8540b
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

@ -374,7 +374,7 @@ 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,
return fmt.Sprintf(`%s<a class="mention u-url" href="https://%s/o/%s">%s</a>`, p, serverName,
strings.ToLower(h[1:]), h)
})
return s