code: def escape_quotes(s: str) -> str:
      """
      Replace double & single quotes with html escape sequences
      """
      return s.translate(QUOTES_TRANSLATION)
  
file_path: plotnine/doc/_renderers/format.py
imports: import re
  from functools import singledispatch
  import griffe.dataclasses
  import griffe.expressions
  from quartodoc.pandoc.components import Attr
  from quartodoc.pandoc.inlines import Span
label_desc: Use image node_id 1 for calling a global function with example usage: escape_quotes(s) and returns: s