Browse Source

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
tags/4.1.0
Go MAEDA 5 years ago
parent
commit
dd146cbe85
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/redmine/wiki_formatting/html_parser.rb

+ 1
- 1
lib/redmine/wiki_formatting/html_parser.rb 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

Loading…
Cancel
Save