Hmmmmm....I've been reading the manual and still after several iteration I can't seem to stumble on the right syntactical incantations to eliminate the whitespace to achieve the desired output. I'm using the version 2.04 downloaded from www.tt2.org.
(Since whitespace is significant in this case, I use --- to mark file boundaries). ---------------------------- Desired Output ------------------------- <td><a href="myhref"><img src="example.gif" border="0"></a></td> ---------------------------------------------------------------------- ---------------------------- Actual Output -------------------------- <td><a href="myhref"><img src="example.gif" border="0"> </a> </td> ---------------------------------------------------------------------- Now the templates... ---------------------------- test ----------------------------------- <td> [%- WRAPPER a -%] [%- INCLUDE img -%] [%- END -%] </td> ---------------------------------------------------------------------- ---------------------------- a ----------------------------------- <a href="myhref">[%- content -%]</a> ---------------------------------------------------------------------- ---------------------------- img ---------------------------------- <img src="example.gif" border="0"> ---------------------------------------------------------------------- I process the template via tpage test What am I missing that I need to get the desired output? Am I using the wrong directive(s)? BTW, the example is admittedly simple, but when a Netscape browser process HTML like the "Actual Output" you get the undesirable little dash on the rendered page.
