From ef3ff6e0b8fd0ec7f62b33caf79a2a569dc536ba Mon Sep 17 00:00:00 2001 From: boreq Date: Tue, 11 Jul 2023 22:18:50 +0200 Subject: [PATCH] Fix a merge error which caused item content to be removed --- pkg/feed/feed.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/feed/feed.go b/pkg/feed/feed.go index 78c47c4..4504edd 100644 --- a/pkg/feed/feed.go +++ b/pkg/feed/feed.go @@ -108,11 +108,6 @@ func ParseFeed(url string) (*gofeed.Feed, error) { return nil, err } - // cleanup a little so we don't store too much junk - for i := range feed.Items { - feed.Items[i].Content = "" - } - marshal, err := json.Marshal(feed) if err == nil { err = custom_cache.Set(url, string(marshal))