diff options
Diffstat (limited to 'reader/atom/atom_10.go')
-rw-r--r-- | reader/atom/atom_10.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/reader/atom/atom_10.go b/reader/atom/atom_10.go index 4e49a8d4..25bdec37 100644 --- a/reader/atom/atom_10.go +++ b/reader/atom/atom_10.go @@ -6,7 +6,6 @@ package atom // import "miniflux.app/reader/atom" import ( "encoding/xml" - "html" "strconv" "strings" "time" @@ -221,10 +220,8 @@ func (a *atom10Text) String() string { switch { case a.Type == "xhtml": content = a.XML - case a.Type == "html": + default: content = a.Data - case a.Type == "text" || a.Type == "": - content = html.EscapeString(a.Data) } return strings.TrimSpace(content) |