[Zope] HTML formatting overlooked

Evan Simpson evan@4-am.com
Sun, 22 Aug 1999 13:24:27 -0500


Tim Wilson wrote:

> <td width="20%" rowspan=2><dtml-var
> expr="_.whrandom.choice(quotes.objectValues())"></td>
>
> Unfortunately, Zope renders the contents of the quote literally,
> replacing, for example, all the < with &lt;. The result can be seen at
> http://206.131.108.122:8080/atlas/.

The expression "_.whrandom.choice(quotes.objectValues())" correctly chooses
an object at random from your quotes, but then fails to render it.  You need
to write something like "_.whrandom.choice(quotes.objectValues())(this(),
REQUEST)" to complete the process.