FIX: revert utf-8 encode changes

This commit is contained in:
Arpit Jalan 2018-05-20 17:50:36 +05:30
parent be01491c04
commit 1841dd48dc

View File

@ -89,7 +89,6 @@ module Jobs
def parsed_feed
raw_feed = fetch_rss
return nil if raw_feed.blank?
raw_feed.encode!("UTF-8", invalid: :replace, undef: :replace, replace: "")
if SiteSetting.embed_username_key_from_feed.present?
FeedElementInstaller.install(SiteSetting.embed_username_key_from_feed, raw_feed)