Explorar el Código

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 hace 5 años
padre
commit
dd146cbe85
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/redmine/wiki_formatting/html_parser.rb

+ 1
- 1
lib/redmine/wiki_formatting/html_parser.rb Ver fichero

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

Cargando…
Cancelar
Guardar