On Sun, 29 Jan 2006, Paul Makepeace wrote:

> <td>
> [% IF 1 %]
>   <img src="foo.jpg">
> [% END %]
> </td>
>
> the best I can get (with POST_CHOMP and FILTER collapse) is,
>
>   <td> <img src="foo.jpg"></td>
>
> That extra space between the td and img can damage the rendering.

Isn't that extra space in there explicitly ? Shouldn't you write

<td>
[% IF 1 %]
<img src="foo.jpg">
[% END %]
</td>

i.e. with no indent of the img tag ?

Simon.

-- 
"They tend to come out a colour called 'Pants left in wash' "


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to