instiki/vendor/rails/actionmailer/lib/action_mailer/utils.rb
2007-01-22 07:43:50 -06:00

9 lines
173 B
Ruby

module ActionMailer
module Utils #:nodoc:
def normalize_new_lines(text)
text.to_s.gsub(/\r\n?/, "\n")
end
module_function :normalize_new_lines
end
end