aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--renderer/renderer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/renderer/renderer.go b/renderer/renderer.go
index f90e8dc..3d4685f 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -61,7 +61,7 @@ func statusContentFilter(spoiler string, content string,
replacements = append(replacements, ":"+e.ShortCode+":", r)
}
for _, m := range mentions {
- replacements = append(replacements, "\""+m.URL+"\"", "\"/user/"+m.ID+"\"")
+ replacements = append(replacements, `"`+m.URL+`"`, `"/user/`+m.ID+`" title="@`+m.Acct+`"`)
}
return strings.NewReplacer(replacements...).Replace(content)
}