diff options
| author | Paul Buetow <paul@buetow.org> | 2025-02-13 10:19:33 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-02-13 10:19:33 +0200 |
| commit | e957564316024f6412399015d2e8a7861e05ec82 (patch) | |
| tree | 3c7e966f1b81dd3dbbd690e1840fb65895033e96 /internal/summary/summary.go | |
| parent | 1eac431601e477cd829984641efcc87e7b49345f (diff) | |
change separator due to HTML CSS styles later
Diffstat (limited to 'internal/summary/summary.go')
| -rw-r--r-- | internal/summary/summary.go | 2 |
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 } |
