rewritingparser.py -> html_quote looks identical + it has the same
comment to use unicode :)

def html_quote(v):
    if v is None:
        return ''
    elif hasattr(v, '__html__'):
        return v.__html__()
    elif isinstance(v, basestring):
        return cgi.escape(v, 1)
    else:
        # @@: Should this be unicode(v) or str(v)?
        return cgi.escape(str(v), 1)



On Thu, May 15, 2008 at 5:22 PM, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> There's a good chance this is fixed in FormEncode trunk.  Try
> easy_install FormEncode==dev
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to