all repos — honk @ 738f359a6228dcdf9d345c90a58181a827d83735

my fork of honk

add class for mentions so they're not treated like links
Ted Unangst tedu@tedunangst.com
Tue, 16 Apr 2019 15:16:44 -0400
commit

738f359a6228dcdf9d345c90a58181a827d83735

parent

60e7bb8fbd9f0ad289060bdd9eaa19c280d58583

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -185,7 +185,7 @@ where := gofish(m)

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