autoescape selection uses case-insensitive comparison (#6013)