code: def _html_escape(string):
      """HTML escape all of these " & < >"""
  
      html_codes = {
          '"': "&quot;",
          "<": "&lt;",
          ">": "&gt;",
      }
  
      # & must be handled first
      string = string.replace("&", "&amp;")
      for char in html_codes:
          string = string.replace(char, html_codes[char])
      return string
  
imports: import io
  from os import linesep, path
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: _html_escape(string) and returns: string