# File lib/loofah/helpers.rb, line 37
      def remove_extraneous_whitespace(string)
        string.gsub(/\n\s*\n\s*\n/,"\n\n")
      end