diff --git a/lib/redmine/wiki_formatting/html_parser.rb b/lib/redmine/wiki_formatting/html_parser.rb index 62445ff3b..1a268e4a0 100644 --- a/lib/redmine/wiki_formatting/html_parser.rb +++ b/lib/redmine/wiki_formatting/html_parser.rb @@ -36,7 +36,7 @@ module Redmine doc.scrub!(WikiTags.new(tags)) doc.scrub!(:newline_block_elements) - Loofah::Helpers.remove_extraneous_whitespace(doc.text).strip + Loofah.remove_extraneous_whitespace(doc.text).strip end class WikiTags < ::Loofah::Scrubber