velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Quick Question.
Date Tue, 10 Sep 2002 11:52:13 GMT
On 9/6/02 12:39 PM, "Carsten Burstedde" <c@burstedde.de> wrote:

>> 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?

What if you want whitespace?

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
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