velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Quick Question.
Date Tue, 10 Sep 2002 21:07:55 GMT
Bill Burton <> wrote:

> wrote:
>> "Geir Magnusson Jr." <> wrote:
>> >On 9/6/02 12:39 PM, "Carsten Burstedde" <> wrote:
>> >> 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?
>> If you want the whitespace, you could put it on the previous or
>> following line.  I can't think of a case where you would need to put
>> the desired whitespace on the same line as a directive.
> [...]
>Otherwise I would agree that any line containing only a directive with no
>schmoo should be deleted.  The problem is how to do this in a way that's
>backwards compatible or provides the option of being backwards compatible
>without creating a maintenance problem with the parser.

That part of the problem should be fairly simple.  There could be a
configuration property in to select which 
version of the parsing you want.

The NEW Netscape 7.0 browser is now available. Upgrade now!

Get your own FREE, personal Netscape Mail account today at

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

View raw message