On Thu, Jul 04, 2002 at 04:21:45PM +0200, Gerald Richter - ecos gmbh wrote:
> > Take the following table:
> >
> > <table>
> > <tr>
> > <td>
> > XXX
> > </td>
> > </tr>
> > [* if ($t) { *]
> > <tr>
> > <td>
> > YYY
> > </td>
> > </tr>
> > [* } *]
> > </table>
> >
> > If $t is true it works. If $t is false, the whole contents of the table
> will
> > be skipped, even the XXX part. (This is in 2.0b8)
> >
>
> Looks like a bug, quick workaround is to either use [$if $] ... [$endif$] or
> to add some text between the } and the end of the table e.g.
>
> [* } *]
> <!-- -->
> </table>
>
> in both case it will work. I try to fix the bug for the next release
The <!-- --> solution does work in my little test case but it doesn't work
in all cases. But the [$if $] ... [$endif$] is ok.
Jochen
--
Jochen Topf [EMAIL PROTECTED] http://www.remote.org/jochen/ +49-721-388298
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]