mirror of
https://github.com/redmine/redmine.git
synced 2026-01-20 06:22:56 +01:00
Code cleanup: Use Loofah.remove_extraneous_whitespace instead of deprecated Loofah::Helpers.remove_extraneous_whitespace.
git-svn-id: http://svn.redmine.org/redmine/trunk@18070 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user