From b3519b09ab6f19d0429d9577343b62325e449a6e Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Thu, 20 Dec 2018 10:03:07 +0100 Subject: [PATCH] Removed another whitespace in URLs from mastodon. --- getarticles.go | 1 + 1 file changed, 1 insertion(+) diff --git a/getarticles.go b/getarticles.go index 5123c2a..5fc924d 100644 --- a/getarticles.go +++ b/getarticles.go @@ -197,6 +197,7 @@ func getArticles(feedURL string, max int, noExcerpt bool) (string, error) { // Strip HTML as we want to get plain text. mastodonContent := strings.Replace(article.Description, ``, "", -1) mastodonContent = strings.Replace(mastodonContent, ``, "", -1) mastodonContent = strings.Replace(mastodonContent, ``, "", -1) mastodonContent = strings.Replace(mastodonContent, ``, "", -1) mastodonContent, err = html2text.FromString(mastodonContent, html2text.Options{OmitLinks: true})