git-svn-id: http://svn.redmine.org/redmine/trunk@18070 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
doc.scrub!(WikiTags.new(tags)) | doc.scrub!(WikiTags.new(tags)) | ||||
doc.scrub!(:newline_block_elements) | doc.scrub!(:newline_block_elements) | ||||
Loofah::Helpers.remove_extraneous_whitespace(doc.text).strip | |||||
Loofah.remove_extraneous_whitespace(doc.text).strip | |||||
end | end | ||||
class WikiTags < ::Loofah::Scrubber | class WikiTags < ::Loofah::Scrubber |