candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Fix to prevent OS X Messages from breaking Candy client #450

Closed galexite closed 6 years ago

galexite commented 8 years ago

This fix was recommended by another user, @Drakemor and it appears to work. I'm committing to master because it's an important change. If it's better to use the dev branch, I will change the pull request respectively.

benlangfeld commented 8 years ago

Could you please say something more about what breakage was occurring and how I might reproduce it to validate this fix?

Also, targeting master is correct, but not for the reason you gave :)

galexite commented 8 years ago

Send a message to you XMPP server with the OS X Messages client, typing out (not copying and pasting) the following message:

I’m using a Gmail Jabber account!

Candy will NOT render this message, or anything past this.

galexite commented 8 years ago

I presume this is because of the single quote, which OS X Messages substitutes in when you type a message with single quotes.