diff --git a/app/jobs/scheduled/poll_feed.rb b/app/jobs/scheduled/poll_feed.rb index 8c0c8eb0185..920c2161a9f 100644 --- a/app/jobs/scheduled/poll_feed.rb +++ b/app/jobs/scheduled/poll_feed.rb @@ -86,11 +86,15 @@ module Jobs end def content - @article_rss_item.content || @article_rss_item.description + if @article_rss_item.content + @article_rss_item.content.scrub + else + @article_rss_item.description.scrub + end end def title - @article_rss_item.title + @article_rss_item.title.scrub end def user