I am using Castle nVelocity to create templates to produce some text files. I have found that if I do something like the following in my template, that my output line is indented in the resulting file as it is in the template.
#foreach( $row in $report.Rows )
Output this row: ${row}
#end
To get the output I want I have to write my template like this:
#foreach( $row in $report.Rows )
Output this row: ${row}
#end
Is there a way to tell nVelocity to gobble the white space so that the line will not be indented in the output but so that I can leave it indented in the template for readability?