added optional HTML escapes to render method in the ink template module