docs: def autoescape(filter_func):
      """Decorator to autoescape result from filters."""
  
      @evalcontextfilter
      @wraps(filter_func)
      def _autoescape(eval_ctx, *args, **kwargs):
          result = filter_func(*args, **kwargs)
          if eval_ctx.autoescape:
              result = Markup(result)
          return result
  
      return _autoescape