[ZPT] Yuk! Someone please improve on this...

Chris Withers chrisw@nipltd.com
Mon, 10 Sep 2001 15:04:48 +0100


Chris Withers wrote:
> 
> Can someone help me turn:
> 
> <td><dtml-var title null="&nbsp;"></td>
> 
> ...into ZPT?

This works:

  <td tal:define="title item/title"
      tal:content="structure python:title or '&nbsp;'">Title</td>

...but I feel a bit sick now.

Can anyone suggest something nicer or should I start sleeping with my sister?

Chris