Guys,
Okay, we've been using TT2 for HTML templates for a while now with great success. But I just tried to implement an
email template and it was a bit trickier, getting all the whitespace bits to work out. But I think I have it all down
except for one last bit.
At the top of all my templates, I've been putting a large comment block as a
header, like so:
[%#####################################################################################
#
# Variables provided to this template should include:
#
# (list all variables here for the benefit of the template designer)
#
#####################################################################################%]
Now, I didn't think that the comment block would take up any actual space in the generated template, but apparently I
was wrong. My first thought was to try changing it to:
[%-#####################################################################################
#
# Variables provided to this template should include:
#
# (list all variables here for the benefit of the template designer)
#
#####################################################################################-%]
But that doesn't seem to make any difference. What do I need to do to get rid of the large whitespace block at the top
of my email? TIA.
-- Buddy
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates