PyDocs

Nav

Structured Markup Processing Tools

escape

html

function · Added in 3.2 (source)
  • escape(s, quote=True)
Replace special characters "&", "<" and ">" to HTML-safe sequences.
If the optional flag quote is true (the default), the quotation mark
characters, both double quote (") and single quote (') characters are also
translated.
0 Examples
No examples for html/escape.
See Also
No see-alsos for html/escape
0 Notes
No notes for escape