module Haml::Helpers

def preserve(input = '', &block)

whitespace-sensitive tags without screwing up the indentation.
HTML entities for endlines so they'll render correctly in
Takes any string, finds all the endlines and converts them to

preserve {...}
preserve(input)
call-seq:
def preserve(input = '', &block)
  return preserve(capture_haml(&block)) if block
  input.chomp("\n").gsub(/\n/, '
').gsub(/\r/, '')
end