add mention class to all links; see if that hides previews

This commit is contained in:
Ted Unangst 2019-06-12 01:35:27 -04:00
parent a7db9863bf
commit 155dca035d
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

@ -276,7 +276,7 @@ func obfusbreak(s string) string {
url = url[:len(url)-1]
adddot = true
}
url = fmt.Sprintf(`<a href="%s">%s</a>`, url, url)
url = fmt.Sprintf(`<a class="mention" href="%s">%s</a>`, url, url)
if adddot {
url += "."
}