module Haml::Helpers

def self.preserve(input)

def self.preserve(input)
  s = input.to_s.chomp("\n")
  s.gsub!(/\n/, '
')
  s.delete!("\r")
  s
end

def preserve(input)

def preserve(input)
  Helpers.preserve(input)
end