News for hackers. Stuff that matters.
Re:WorldChat.io: Chat with realtime translation by anonfunction on Tuesday May 21, 2013 @02:47PM (#5745856)
Working on it, any tips to keep entity encoding in handlebars without the triple stash?
Re:WorldChat.io: Chat with realtime translation by octatone2 on Tuesday May 21, 2013 @02:56PM (#5745899)
Don't encode entities on the server side if you are using handlebars, it will do that for you (that's the point of using {{}} it will make all user input "safe").
Re:WorldChat.io: Chat with realtime translation by Sephr on Tuesday May 21, 2013 @04:32PM (#5746630)
Don't encode entities, just use the DOM (append text nodes).