mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: support emails in with weird encoding
This commit is contained in:
@@ -109,6 +109,9 @@ describe Email::Receiver do
|
||||
|
||||
expect { process(:chinese_reply) }.to change { topic.posts.count }
|
||||
expect(topic.posts.last.raw).to eq("您好! 你今天好吗?")
|
||||
|
||||
expect { process(:reply_with_weird_encoding) }.to change { topic.posts.count }
|
||||
expect(topic.posts.last.raw).to eq("This is a reply with a weird encoding.")
|
||||
end
|
||||
|
||||
it "prefers text over html" do
|
||||
|
||||
Reference in New Issue
Block a user