odd formatting

This commit is contained in:
Sam 2013-07-30 17:37:16 +10:00
parent 2af6cd616d
commit 61b330abb4

View File

@ -90,9 +90,7 @@ module Email
lines = @body.lines.to_a
range_end = 0
email_year =
lines.each_with_index do |l, idx|
email_year = lines.each_with_index do |l, idx|
break if l =~ /\A\s*\-{3,80}\s*\z/ ||
l =~ Regexp.new("\\A\\s*" + I18n.t('user_notifications.previous_discussion') + "\\s*\\Z") ||
# This one might be controversial but so many reply lines have years, times and end with a colon.