add mention class to all links; see if that hides previews
This commit is contained in:
parent
a7db9863bf
commit
155dca035d
1 changed files with 1 additions and 1 deletions
2
fun.go
2
fun.go
|
@ -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 += "."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue