In message <[EMAIL PROTECTED]>, Fredrik
Lundh wrote:

> Lawrence D'Oliveiro wrote:
> 
>> So I think the default for the second argument to cgi.escape should be
>> changed to True. Or alternatively, the second argument should be removed
>> altogether, and quotes should always be escaped.
> 
> you're confused: cgi.escape(s) is designed to be used for ordinary text,
> cgi.escape(s, True) is designed for attributes.

What works for attributes also works for ordinary text.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to