[Zope] Python script newbie question
Godefroid Chapelle
gotcha@swing.be
Tue, 10 Apr 2001 18:31:02 +0200
Casey Duncan a =E9crit :
> Godefroid Chapelle wrote:
> >
> > Hi all,
> >
> > I am trying to produce a <br /> separated list with a python script :
> >
> > for para in paraList:
> > result =3D result + para + '<br />'
> > return result
> >
> > The problem is that I get something like that :
> >
> > para<br />another para<br />.....
> >
> > Is there a way to avoid html quoting with python scripts or am I
> > supposed to use DTML method in this case ?
> >
> > --
> >
> > Godefroid Chapelle
> >
>
> How are you inserting the result of this function? If you use the entit=
y
> syntax &dtml-foo;, it does html quoting automatically.
The problem is the automatic html quoting, I want to avoid it and do not
know how ?
>
>
> --
> | Casey Duncan
> | Kaivo, Inc.
> | cduncan@kaivo.com
> `------------------>
Thanks
--
Godefroid Chapelle
BubbleNet sprl
rue Victor Horta, 30
1348 Louvain-la-Neuve
Belgium
Tel 010 457490
Mob 0477 363942
TVA 467 093 008
RC Niv 49849