summaryrefslogtreecommitdiff
path: root/href.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-22 14:23:31 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-22 14:23:31 +0200
commitd3a67f46c6b0a8af985ed314a04183bcbb38f1d0 (patch)
tree3190ff8c6dae8950ec37cad43e973a4a02917b52 /href.go
parent71a7b60179b98bcbaaa9b5042f00ff8febb7fcb2 (diff)
Cosmetic changes
Diffstat (limited to 'href.go')
-rw-r--r--href.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/href.go b/href.go
index 3340a45..976d7fb 100644
--- a/href.go
+++ b/href.go
@@ -66,7 +66,7 @@ func FetchTitle(url string) (string, error) {
title := findTitle(doc)
if len(title) > maxLen {
- title = title[:maxLen] + " ..."
+ title = title[:maxLen] + "..."
}
return title, nil