code: def escape_html(text):
      """Escape &, <, > as well as single and double quotes for HTML."""
      return (
          text.replace("&", "&amp;")
          .replace("<", "&lt;")
          .replace(">", "&gt;")
          .replace('"', "&quot;")
          .replace("'", "&#39;")
      )
  
file_path: wandb/wandb/vendor/pygments/formatters/svg.py
imports: from pygments.formatter import Formatter
  from pygments.util import get_bool_opt, get_int_opt
label_desc: Use image node_id 1 for calling a global function with example usage: escape_html(text) and returns: text