Comment 1 for bug 601601

Revision history for this message
Matthew Waters (waters-matthew00) wrote :

The problem seems to occur when one calls, cgi.excape() on the text. Without that function, the ampersand (the ampersand is the only one that doesn't work that cgi.escape() affects. see here: http://wiki.python.org/moin/EscapingHtml) is printed correctly. This is also supported by the attached test which displays all the characters that cgi.escape() should change in both character format and HTML format.