You might find this page helpful: http://wiki.python.org/moin/EscapingHtml

- Jason

On Tue, May 12, 2009 at 5:36 AM, Brandon <bmacia...@gmail.com> wrote:

>
> I'm curious as to what the 'standard' is for handling both single and
> double quotes when sanitizing data for HTML rendering.
>
> Obviously cgi.escape can handle one, but not both, if I'm not
> mistaken.  Is there a standardized approach for sanitizing in the
> manner that cgi.escape does, but also handles double and single quotes?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to