go fmt is a harsh mistress
Ted Unangst tedu@tedunangst.com
Tue, 16 Apr 2019 20:33:01 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
fun.go
→
fun.go
@@ -188,7 +188,7 @@ where := gofish(m)
if where == "" { return m } - who := m[0:1 + strings.IndexByte(m[1:], '@')] + who := m[0 : 1+strings.IndexByte(m[1:], '@')] return fmt.Sprintf(`<span class="h-card"><a class="u-url mention" href="%s">%s</a></span>`, html.EscapeString(where), html.EscapeString(who)) })