added a way to add custom escaping strategies