add dots when shortened
continuous-integration/drone/push Build is passing Details

This commit is contained in:
an 2019-08-21 18:30:40 +02:00
parent d01fbb8ce8
commit 520f62eaa2
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func rssItemHandler(feed *gorss.Feed, ch *gorss.Channel, newitems []*gorss.Item)
short := ""
if len(ti) > 80 {
runes := []rune(ti)
short = string(runes[0:80])
short = string(runes[0:80]) + " [...]"
} else {
short = ti
}