# File lib/loofah/instance_methods.rb, line 115 def to_text(options={}) Loofah::Helpers.remove_extraneous_whitespace self.dup.scrub!(:newline_block_elements).text(options) end