removd Anant's changes to the output escaping function