it's a lie, but add u-url to links too to prevent prefetching

This commit is contained in:
Ted Unangst 2019-07-10 23:47:45 -04:00
parent c7142194fe
commit 1beae5e86c
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

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