mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Merge pull request #3918 from techAPJ/better-email-parsing
FEATURE: better email reply parsing
This commit is contained in:
commit
02279c41cb
6 changed files with 71 additions and 4 deletions
|
@ -140,7 +140,7 @@ module Email
|
|||
body = discourse_email_trimmer body
|
||||
raise EmptyEmailError if body.strip.blank?
|
||||
|
||||
body = EmailReplyParser.parse_reply body
|
||||
body = DiscourseEmailParser.parse_reply body
|
||||
raise EmptyEmailError if body.strip.blank?
|
||||
|
||||
body.force_encoding(encoding).encode("UTF-8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue