mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:06:26 +08:00
odd formatting
This commit is contained in:
parent
2af6cd616d
commit
61b330abb4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user