Escape output all at once instead of using piecewise escaping
Edit readme to reflect fix
Merge pull request #572 from bholzer/escape_refactor

Escape output all at once instead of using piecewise escaping