Function
cgi.escape

Signature

escape(s, quote=None)

Documentation String

Replace special characters '&', < and > by SGML entities.