diff --git a/getarticles.go b/getarticles.go index 1c6c85b..02201a9 100644 --- a/getarticles.go +++ b/getarticles.go @@ -206,7 +206,7 @@ func getArticles(feedURL string, max int, noExcerpt bool) (string, error) { mastodonContent = strings.Replace(mastodonContent, ``, "", -1) mastodonContent = strings.Replace(mastodonContent, ``, "", -1) mastodonContent = strings.Replace(mastodonContent, ``, "", -1) - mastodonContent, err = html2text.FromString(mastodonContent, html2text.Options{OmitLinks: true}) + mastodonContent, err = html2text.FromString(mastodonContent, html2text.Options{OmitLinks: true, TextOnly: true}) if err != nil { return "", err }