mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: fix email replies for ms outlook
This commit is contained in:
parent
199896a607
commit
24a0db3244
3 changed files with 194 additions and 1 deletions
|
@ -93,6 +93,10 @@ Pleasure to have you here!
|
|||
)
|
||||
end
|
||||
|
||||
it "properly renders email reply from MS Outlook client" do
|
||||
test_parse_body(fixture_file("emails/outlook.eml")).should == "Microsoft Outlook 2010"
|
||||
end
|
||||
|
||||
it "converts back to UTF-8 at the end" do
|
||||
result = test_parse_body(fixture_file("emails/big5.eml"))
|
||||
result.encoding.should == Encoding::UTF_8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue