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

Ron Bickers rbickers-dated-1000740032.fd196b@logicetc.com
Mon, 10 Sep 2001 11:20:32 -0400


> In an ideal world, what I'd really like would be:
> <td tal:content="item/title | structure string:&nbsp;;" >

That would be nice indeed.  Any solution that uses structure before
item/title will not work if the title has special characters in it because
they will not be quoted.

I think this will cover the bases:

  <td tal:content="python:path('item/title') or default">&nbsp;</td>

However, I hate using 'default' like this because then I can't put a sample
title there.
_______________________

Ron Bickers
Logic Etc, Inc.