Fix end-marker-is-free option in templates.