code: def escape_parameters(parameters):
      new_parameters = []
      for param in parameters:
          param = (
              param.copy()
          )  # Manipulating the list item directly causes issues, so copy it first
          param["doc"] = (
              html.escape(param["doc"])
              if param["doc"]
              else param["doc"]
          )
          new_parameters.append(param)
      assert len(new_parameters) == len(parameters)
      return new_parameters
  
file_path: gradio/js/_website/generate_jsons/src/docs/__init__.py
imports: import html
  import json
  import os
  from gradio_client.documentation import document_cls, generate_documentation
  import gradio
  from ..guides import guides
  import requests
label_desc: Use image node_id 5 for calling a global function with example usage: escape_parameters(parameters) and returns: new_parameters