I\'ve been working with Apache\'s Velocity engine and a custom template. The thing is, that I haven\'t been able to generate a String with the corresponding line breaks. I t
If you are using Velocity 1.5 or later, you can also just put the new line in there:
#set( $foo = "this has a line break" )