diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index fbfbd9e2..585660d8 100755 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -201,7 +201,6 @@ def clean_up_response(articles) article["body"] = scrubScriptTagsFromHTMLString article["body"] article["body"] = scrubJSCommentsFromHTMLString article["body"] article["body"] = scrubSpecialCharactersFromSingleLinesInHTMLString article["body"] - article["body"] = scrubHTMLSpecialCharactersInHTMLString article["body"] article["headline"] = HTMLEntities.new.decode(article["headline"]) end diff --git a/app/models/cms.rb b/app/models/cms.rb index 19a71f5f..b7df4972 100755 --- a/app/models/cms.rb +++ b/app/models/cms.rb @@ -405,10 +405,12 @@ def self.scrubWordpressTagsFromHTMLString(html_string) # rubocop:disable Naming/ html_string end - def self.scrubCDataTags(html_string) # rubocop:disable Naming/MethodName - # scrubbed = html_string.gsub("//