hij1nx/node-chat — pull request #5 by coderarity (2012-09-29 20:53:11+00:00)
Title: XSS fix

Hey, so there's a problem with XSS in the site. I can put in the message box and press enter to make everyone display an alert. I fixed this with a quick jQuery trick, by making a useless (span) element and setting the text property, so that jQuery did the escaping for me. It's a bit lazy but it works.