Add escape to template