Rewrote escapedForCards so it's 10 times faster.