unlink tag links... sigh.
This commit is contained in:
parent
aeee47c758
commit
b1f7c8540b
2
fun.go
2
fun.go
|
@ -374,7 +374,7 @@ func ontologize(s string) string {
|
||||||
p = h[:1]
|
p = h[:1]
|
||||||
h = 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)
|
strings.ToLower(h[1:]), h)
|
||||||
})
|
})
|
||||||
return s
|
return s
|
||||||
|
|
Loading…
Reference in New Issue