velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Burstedde...@burstedde.de>
Subject Re: Quick Question.
Date Fri, 06 Sep 2002 16:39:18 GMT
> Velocity has some quirks with whitespaces. Currently nicely structured
> templates produce ugly HTML souce, since whitespaces of indented
> directives are emitted to the output (except around #set(...) and #end
> statements).

That's true - my processed HTML pages have dozens of empty lines in 
front of the beginning <html>. Why not omit all whitespace output on a 
line and the newline if it contains only a directive and no html?

Carsten


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message