all repos — honk @ 47377beb317edc4b5a114d5d0437d5c0b19258de

my fork of honk

identify hashtag links as hashtag
Ted Unangst tedu@tedunangst.com
Sun, 02 Jul 2023 18:31:51 -0400
commit

47377beb317edc4b5a114d5d0437d5c0b19258de

parent

42517537e0ef8eb55eec6e40f2d5a46ffddb89ca

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

jump to
M fun.gofun.go

@@ -549,7 +549,7 @@ return fmt.Sprintf(fill, html.EscapeString(where), html.EscapeString(who))

} func ontoreplacer(h string) string { - return fmt.Sprintf(`<a href="https://%s/o/%s">%s</a>`, serverName, + return fmt.Sprintf(`<a class="mention hashtag" href="https://%s/o/%s">%s</a>`, serverName, strings.ToLower(h[1:]), h) }