velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anakreon Mejdi <>
Subject Re: Quick Question.
Date Tue, 10 Sep 2002 11:52:03 GMT
I had a problem with ideating when I wrote a template to produce java 
source code.
I didn't make any questions in the list because now I am writing an 
other program and decided to fix the problem later.

To format HTML I would use JTidy or event better the combination of
JTidy and + for grater
control on the indentation of html.

I believe that the indentation should be fixed for cases like source 
code production when idendation does matter.

Geir Magnusson Jr. wrote:

> On 9/6/02 12:39 PM, "Carsten Burstedde" <> 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
>>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?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message