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
It might be easiest to simply use the Velocity EscapeTool.
See this link: https://velocity.apache.org/tools/releases/2.0/javadoc/org/apache/velocity/tools/generic/EscapeTool.html#getNewline%28%29
Example Usage: Line Break Here: $esc.newline This is on a new line.