Zarel/Pokemon-Showdown — pull request #933 by Slayer95 (2014-05-13 04:05:31+00:00)
Title: Escape HTML in crash reports

This has been overlooked for a while.
Directly calling sugar.js strings' escapeHTML method to avoid further crashes if Tools.escapeHTML is missing for any reason.