velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <>
Subject Re: Line Continuation syntax
Date Fri, 02 Jan 2009 16:53:02 GMT
yeah, just put a line comment at the end of the line.  ##

On Fri, Jan 2, 2009 at 8:11 AM, Steve Cohen <> wrote:
> Is there any support in velocity for a line continuation character (like '\'
> in a properties file) to indicate to Velocity that a line feed in a template
> should be ignored?  The AOL converter I must use conveniently converts any
> line feed characters to <br/> which is very often what I want, but sometimes
> I want to include paragraph-length text.  Without the ability to ignore
> certain line-feeds, in these circumstances, my templates must put the
> paragraph-length text on a single, too long to be human-readable, line.  I
> want my cake and I want to eat it too: text that is easily editable in the
> template but which formats nicely in the end.
> I could easily roll my own here, but I wonder if there is any Velocity-level
> support for this.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message