Procházet zdrojové kódy

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 před 5 roky
rodič
revize
dd146cbe85
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      lib/redmine/wiki_formatting/html_parser.rb

+ 1
- 1
lib/redmine/wiki_formatting/html_parser.rb Zobrazit soubor

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

Načítá se…
Zrušit
Uložit