Skip to content

Commit 87fd577

Browse files
committed
Roll back over-broad text removal
The change was intended to remove client-specific headers but could unintentionall remove large blocks of valid text.
1 parent 31b7cd4 commit 87fd577

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/email_reply_parser.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ def read(text)
8888
text.gsub! $1, $1.gsub("\n", " ")
8989
end
9090

91-
# Check for Windows Live multi-line reply headers.
92-
if text =~ /^(From:\s.+?Subject:.+?)$/m
93-
text.gsub! $1, $1.gsub("\n", " ")
94-
end
95-
96-
9791
# Some users may reply directly above a line of underscores.
9892
# In order to ensure that these fragments are split correctly,
9993
# make sure that all lines of underscores are preceded by

0 commit comments

Comments
 (0)