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: requesting some visual improvment to parsing output
Date Mon, 26 Nov 2001 22:15:51 GMT
On 11/26/01 4:37 PM, "Thomas Ã…hlen" <thomas@obidobi.net> wrote:

> I really want my html code to look nice after the velocity has had it's go
> at it.
> 
> Example:
> 
> [test.html]
> text before parse
>    #parse( "test2.html" )
> text after parse
> 
> [test2.html]
> text inside parse
> 
> [output]
> text before parse
>                              text inside parsetext after parse
> 
> [wanted output]
> text before parse
>   text inside parse
> text after parse
> 
> It seems like this line
> (4 spaces)(parse directive)(newline)
>   #parse( "...")
> 
> always are replaced by this
> (24 spaces)(parse output)
> 
> I want velocity to remember (4 spaces) and (newline) by default. Is this to
> much to ask? :)
> 

There does seem to be a problem there with the extra spaces.

The newline though is by design - we eat newlines on single-line directives
- which may not be right, as you point out.

Will look at the space issue first...

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

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - Benjamin Franklin



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