FIX: extracting mail content from exchange emails

This commit is contained in:
Régis Hanol 2018-03-14 22:02:43 +01:00 committed by GitHub
parent 5ce8177662
commit 20ba54d536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ module Email
# Exchange is using the 'messageReplySection' class for forwarded emails
# And 'messageBodySection' for the actual email
elided = doc.css("div[name='messageReplySection']").remove
to_markdown(doc.css("div[name='messageBodySection'").to_html, elided.to_html)
to_markdown(doc.css("div[name='messageReplySection']").to_html, elided.to_html)
end
def extract_from_apple_mail(html)