summaryrefslogtreecommitdiff
path: root/internal/summary/summary.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-02-13 10:19:33 +0200
committerPaul Buetow <paul@buetow.org>2025-02-13 10:19:33 +0200
commite957564316024f6412399015d2e8a7861e05ec82 (patch)
tree3c7e966f1b81dd3dbbd690e1840fb65895033e96 /internal/summary/summary.go
parent1eac431601e477cd829984641efcc87e7b49345f (diff)
change separator due to HTML CSS styles later
Diffstat (limited to 'internal/summary/summary.go')
-rw-r--r--internal/summary/summary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/summary/summary.go b/internal/summary/summary.go
index 199d245..1a416c3 100644
--- a/internal/summary/summary.go
+++ b/internal/summary/summary.go
@@ -174,7 +174,7 @@ func gemtextLink(geminiCapsules []string, url string, maxLen int) string {
return "=> " + url + " " + urlNoProto
}
halfLen := (maxLen - 3) / 2
- shortened := urlNoProto[:halfLen] + "..." + urlNoProto[len(urlNoProto)-halfLen:]
+ shortened := urlNoProto[:halfLen] + "..-.." + urlNoProto[len(urlNoProto)-halfLen:]
return "=> " + url + " " + shortened
}