instiki/vendor/rails/actionmailer/lib/action_mailer/utils.rb

8 lines
132 B
Ruby
Raw Normal View History

2007-01-22 14:43:50 +01:00
module ActionMailer
module Utils #:nodoc:
def normalize_new_lines(text)
text.to_s.gsub(/\r\n?/, "\n")
end
end
end