This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nkour
Recipients
Date 2005-07-23.12:33:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
WWW:

escape(  	s[, quote])
    Convert the characters "&", "<" and ">" in string s
to HTML-safe sequences. Use this if you need to display
text that might contain such characters in HTML. If the
optional flag quote is true, the double-quote character
(""") is also translated; this helps for inclusion in
an HTML attribute value, as in <A HREF="...">. If the
value to be quoted might include single- or
double-quote characters, or both, consider using the
quoteattr() function in the xml.sax.saxutils module
instead.


pydoc
cgi.escape = escape(s, quote=None)
    Replace special characters '&', '<' and '>' by SGML
entities.


why? ;(

moreover pydoc doesn't even say what quote is!!
History
Date User Action Args
2007-08-23 14:33:16adminlinkissue1243553 messages
2007-08-23 14:33:16admincreate