add class for mentions so they're not treated like links

master
Ted Unangst 5 years ago
parent 28a39e7f23
commit f5709a9e84

@ -185,7 +185,7 @@ func obfusbreak(s string) string {
if where == "" {
return m
}
return fmt.Sprintf(`<a href="%s">%s</a>`, html.EscapeString(where),
return fmt.Sprintf(`<a class="mention" href="%s">%s</a>`, html.EscapeString(where),
html.EscapeString(m))
})
return s

Loading…
Cancel
Save