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