summaryrefslogtreecommitdiff
path: root/internal/text/link.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/text/link.go')
-rw-r--r--internal/text/link.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/text/link.go b/internal/text/link.go
index 0a0f0c60d..02c4b8be6 100644
--- a/internal/text/link.go
+++ b/internal/text/link.go
@@ -98,7 +98,7 @@ func (f *formatter) ReplaceLinks(ctx context.Context, in string) string {
shortString := thisURL.Hostname()
if thisURL.Path != "" {
- shortString = shortString + thisURL.Path
+ shortString += thisURL.Path
}
if thisURL.Fragment != "" {