lib/faml/helpers.rb in faml-0.7.2 vs lib/faml/helpers.rb in faml-0.7.3
- old
+ new
@@ -3,10 +3,10 @@
# Don't use these methods!
module Helpers
def self.preserve(input)
# Taken from the original haml code
- input.to_s.chomp("\n").gsub(/\n/, '
').gsub(/\r/, '')
+ input.to_s.chomp("\n").gsub(/\n/, '
').delete("\r")
end
def preserve(input)
Helpers.preserve(input)
end