You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Sitkewich, Julian" <Si...@pbworld.com> on 2002/05/30 01:46:23 UTC

Velocimacro and multi-line strings - more detail

Here is the error I am receiving: ..parser.TokenMgrError at line xx.
Encountered "\r" (13), after "\'<b>text</b>
 
> I would like to pass in a multi-line string into a 
> Velicmacro. Basically the
> macro takes a multi-line 'news' paragraph of text and formats it
> accordingly. The problem is how do I write: #mymacro(an 
> entire paragraph of
> text...)? Do I have to remove all the newlines in order to 
> get it into the
> proper Velocity syntax? How can I 'paste' the text as is into 
> the macro
> parameter?
> 
> thx,
> 
> Julian 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>