mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-12-22 21:05:25 +01:00
Added linebreak before attaching the URL.
This commit is contained in:
parent
34004d8e01
commit
ca53b16a89
2 changed files with 2 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue