Make templates faster by only escaping untrusted content.