Stuart Johnston wrote:
> I'm having this weird problem where on one server, I get an extra blank
> line at the top of all TT generated documents but not my other server
> with the same code and TT version (2.07 no-xs).  There are no directives
> at the top of the template file.

I found and fixed a subtle bug the other day which may, or may not be
related.

  [%# blah blah
    # blah blah
  -%]
  The first line

In this example, the newline after the comment block wasn't being
chomped, giving you "\nThe first line".  The entire directive was 
being ignored, as it should, but the chomp option (the trailing '-') 
was also being ignored.

It's fixed now in the CVS respository.

A



Reply via email to