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})