Here's how to reproduce.
1) Start playing a game
2) Be ready to make a move
3) Type up some text in the message box that contains ' characters
4) Press MOVE before realizing you didn't move a piece on the board yet.
5) The text updates with all of the ' characters escaped
6) If you make the move anyway, the \ characters persist into the message log