Skip to content

Commit

Permalink
fixes #137 - removed html2text option that creates bogus html when li…
Browse files Browse the repository at this point in the history
…nks are present in te summary
  • Loading branch information
TheMightyGit committed Dec 12, 2023
1 parent 8213cf2 commit 76768d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rssole/item.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (w *wrappedItem) Summary() string {
return *w.summary
}

plainDesc := html2text.HTML2TextWithOptions(w.Description(), html2text.WithLinksInnerText())
plainDesc := html2text.HTML2TextWithOptions(w.Description())
if len(plainDesc) > maxDescriptionLength {
plainDesc = plainDesc[:maxDescriptionLength]
}
Expand Down

0 comments on commit 76768d4

Please sign in to comment.