Excellent - cheers guys... Regards, Phil +----------------------------------+ | Phil Mayers, Network Support | | Centre for Computing Services | | Imperial College | +----------------------------------+ -----Original Message----- From: Chris McDonough [mailto:chrism@digicool.com] Sent: 06 April 2001 14:31 To: Chris Withers; Mayers, Philip J Cc: zope@zope.org Subject: Re: [Zope] Problem with PythonScript and embedded HTML Indeed, works for me under a the latest 2.3 branch... ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Mayers, Philip J" <p.mayers@ic.ac.uk> Cc: <zope@zope.org> Sent: Friday, April 06, 2001 8:36 AM Subject: Re: [Zope] Problem with PythonScript and embedded HTML
"Mayers, Philip J" wrote:
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?
I'm sure I saw CVS notifications saying this ahd been fixed :-S
Collector it is it hasn't in 2.3.1 final.
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )