[Zope] Random code?
Jonathan (Listserv Account)
listsmurf@ur.nl
Fri, 9 Nov 2001 13:11:27 +0100
Hi list,
Trying to randomly insert content into a page, using the following code:
<dtml-var expr="_.whrandom.choice(myFolder.objectValues())">
which chooses a random object from the folder 'myFolder' and includes it in
the page. When I include HTML however, all '<' and '>' are rendered as
'<' and '>' respectively, making the HTML code show up on the page.
Anybody knows how to make it just include the code without changes?
Thnx,
Jonathan