]> source.dussan.org Git - redmine.git/commitdiff
Code cleanup: Use Loofah.remove_extraneous_whitespace instead of deprecated Loofah...
authorGo MAEDA <maeda@farend.jp>
Sun, 21 Apr 2019 12:05:55 +0000 (12:05 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 21 Apr 2019 12:05:55 +0000 (12:05 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18070 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/wiki_formatting/html_parser.rb

index 62445ff3bc3ff65b8bb91955a00f775b559a314e..1a268e4a09574a20dbb100b2db10e4456f12a028 100644 (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