in reply to Valid Nested Output
If you want to output the closing </li> after having output the body of the element, don't output it above the body of the element.
[% FOREACH i IN item %] <li>[% i.name %]<!-- </li> --> [% IF i.children.size %] [% view.print(i.children.list) %] [% END %] </li> [% END %]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Valid Nested Output
by Anonymous Monk on May 17, 2010 at 15:15 UTC |