[Zope] Help! whrandom.choice

technews@egsx.com technews@egsx.com
Tue, 21 Dec 1999 19:43:44 -0500 (EST)


Hi,

I want to randomly get the content of a file  from a list of files in a
directory. And the following code does that.  However, the files have HTML
code in them, and when they are displayed, the HTML tags are escaped.
(i.e. the < is changed to &gt; )  

Is there a way to stop this from happeneing???

<dtml-if "diduknow.objectValues(['DTML Document'])">      
 <!--#var expr="_.whrandom.choice(diduknow.objectValues(['DTML
Document']))"-->
</dtml-if>

Any help is apprtitated :)

TIA
Adonis