docs: def evaluate_block(self, template, context=None, escape=None, safe_wrapper=None):
          """Evaluate a template block."""
          if context is None:
              context = {}
  
          try:
              with self._evaluation_context(escape, safe_wrapper):
                  template = self._environment.from_string(template)
                  return template.render(**context)
          except jinja2.TemplateError as error:
              raise EvaluationError(error.args[0])
          finally:
              self._escape = None