Handle escaped tags in templates.