1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-04 22:59:47 +00: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:
Go MAEDA 2019-04-21 12:05:55 +00:00
parent 303576e22d
commit dd146cbe85

View File

@ -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