code: def escape_html_string_fields():
      for mode in docs:
          for cls in docs[mode]:
              # print(cls["description"])
              # cls["description"] = html.escape(cls["description"])
              # print(cls["description"])
              for tag in [
                  "preprocessing",
                  "postprocessing",
                  "examples-format",
                  "events",
              ]:
                  if tag not in cls["tags"]:
                      continue
                  cls["tags"][tag] = html.escape(cls["tags"][tag])
  
              cls["parameters"] = escape_parameters(cls["parameters"])
              for fn in cls["fns"]:
                  fn["description"] = html.escape(fn["description"])
                  fn["parameters"] = escape_parameters(fn["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 6 for calling a global function with example usage: escape_html_string_fields() without return types