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

Don't replace text for emoticons inside code blocks. #422

Closed rafbgarcia closed 2 years ago

rafbgarcia commented 8 years ago

This fixes the scenario where we have a code block and accidentally type a emoticon inside of it:

E.g. type :string -> :s would be replaced by an emoticon.

lkraav commented 8 years ago

When did we start rendering code blocks in the first place? I'm really looking for this feature.