From 7e0f2f6196dbcc683591818caaae7ef69f86c953 Mon Sep 17 00:00:00 2001 From: Ville Ranki Date: Sat, 25 May 2019 14:59:05 +0300 Subject: [PATCH] Add spaces between url and parenthesis --- src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go index 32495c5..d6b34e2 100644 --- a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go +++ b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go @@ -350,7 +350,7 @@ func (s *Service) sendToRooms(cli *gomatrix.Client, feedURL string, feed *gofeed func itemToHTML(feed *gofeed.Feed, item gofeed.Item) gomatrix.HTMLMessage { return gomatrix.HTMLMessage{ - Body: fmt.Sprintf("%s: %s (%s)", + Body: fmt.Sprintf("%s: %s ( %s )", html.EscapeString(feed.Title), html.EscapeString(item.Title), html.EscapeString(item.Link)), MsgType: "m.notice", Format: "org.matrix.custom.html",