Added linebreak before attaching the URL.

This commit is contained in:
Martin Dosch 2019-05-31 12:36:30 +02:00
parent 34004d8e01
commit ca53b16a89
2 changed files with 2 additions and 2 deletions

View file

@ -69,4 +69,4 @@ the bot.
If you don't want additional noise in the MUC you can set `Quiet`
to disable bot queries (e.g. *contact*) in the MUC (queries per
private message are still available).
private message are still available).

View file

@ -269,7 +269,7 @@ func getArticles(feedURL string, max int, noExcerpt bool, filter []string) (stri
description = strings.Replace(description, article.Link, cleanURL, -1)
output = output + feed.Title + ": *" + article.Title + "*\n\n" + description
} else {
output = output + feed.Title + ": *" + article.Title + "*\n\n" + description + cleanURL
output = output + feed.Title + ": *" + article.Title + "*\n\n" + description + "\n" + cleanURL
}
}