Maybe you don't have a recent enough version of velocity - in 1.5 newline characters are accepted, as long as the + concatenation operator.
Claude Le vendredi 16 novembre 2007 à 12:52 -0500, Jobol Bojol a écrit : > Hi, > > I am new to velocity. I was wondering if I can have new lines in any > of the string latters such as in this example: > > #set($context = "<B>My content</B> > <p>my content</p>" > > I tried using the "+" and the "\" but i am not having much luck. > Right now I have a long HTML on the same line and it doesnt look right > and is hard to maintain. > > Any help would be appreciated. > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
