parameters: (text, quote=True)
return_statement: return html.escape(text, quote)
docstring: Escape any HTML special characters in the given string.
docstring_summary: Escape any HTML special characters in the given string.
docstring_tokens: Escape any HTML special characters in the given string .
function: def cleantext(text, quote=True):
      """Escape any HTML special characters in the given string."""
      if text is None:
          return text
      return html.escape(text, quote)
function_tokens: def cleantext ( text , quote = True ) : if text is None : return text return html . escape ( text , quote )