velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plynch...@netscape.net
Subject Re: Quick Question.
Date Tue, 10 Sep 2002 21:07:55 GMT
Bill Burton <billb@progress.com> wrote:

>Hello,
>
>plynchnlm@netscape.net wrote:
>> 
>> "Geir Magnusson Jr." <geirm@optonline.net> wrote:
>> 
>> >On 9/6/02 12:39 PM, "Carsten Burstedde" <c@burstedde.de> 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 velocity.properties to select which 
version of the parsing you want.


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp


Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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