Better escaping for TeX resulting from user-entered input.

Test Plan:
Tested on localhost, works the same.

Auditors: alpert