[Zope] Problem with PythonScript and embedded HTML

Chris McDonough chrism@digicool.com
Fri, 6 Apr 2001 09:56:23 -0400


What bug are we fixing?  I'm lost.

----- Original Message -----
From: "Pierre-Julien Grizel" <grizel@mouli.net>
To: "Chris McDonough" <chrism@digicool.com>; "Zope mailing list"
<zope@zope.org>
Sent: Friday, April 06, 2001 9:53 AM
Subject: Re: [Zope] Problem with PythonScript and embedded HTML



(Just a little note : the patch I've just posted was for the DTML Document
bug I
noticed, not the PythonScript bug Philip noticed... gloups... But, em, a bug
is
a bug ! :-)   )


All apologies...



P.-J.




Chris McDonough wrote:
>
> 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 )
> >
>
> _______________________________________________
> 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 )

--
If the only tool you have is a hammer,
    you tend to see every problem as a nail.
Si la unica herramita te tienes es un martillo,
    tendras tendancia a ver cada problema como un clavo.
Wenn Ihnen als einziges Werkzeug ein Hammer zur Verfügung steht,
    neigen Sie dazu, jedes Problem als Nagel zu betrachten.
Si le seul outil dont vous disposez est un marteau,
    vous avez tendance à voir chaque problème comme un clou.
                                       --Abraham Maslow

_______________________________________________
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 )