rickyrauch / Balloons.IO

Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
http://balloons.io
2.37k stars 493 forks source link

do not replace emoticons in longer strings #101

Closed egh closed 10 years ago

egh commented 10 years ago

e.g. do not replace the =X in http://example.org/?q=X

egh commented 10 years ago

This patch requires emoticons to be either: the only content in a line, or separated by whitespace, to be replaced with an image, e.g. :) will be replaced, hello:) will not, but hello :) will.

cristiandouce commented 10 years ago

@egh ty

egh commented 10 years ago

Thanks for merging!