[Zope] Problem with PythonScript and embedded HTML

Mayers, Philip J p.mayers@ic.ac.uk
Fri, 6 Apr 2001 12:21:45 +0100


Try this in a PythonScript:

print """<TEXTAREA NAME="whatever">%s</TEXTAREA><H2>This text will appear
outside the edit box</H2>"""

Hit the save-changes and watch the sparks fly. I guess the contents of the
*real* edit textarea should be HTML-quoted?

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+