it's a lie, but add u-url to links too to prevent prefetching
This commit is contained in:
parent
c7142194fe
commit
1beae5e86c
2
fun.go
2
fun.go
|
@ -337,7 +337,7 @@ func obfusbreak(s string) string {
|
||||||
url = url[:len(url)-1]
|
url = url[:len(url)-1]
|
||||||
adddot = true
|
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 {
|
if adddot {
|
||||||
url += "."
|
url += "."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue