title: Thymeleaf: replace newline characters with <br>
body: <p>I have a field (<code>&lt;textarea name="desc" /&gt;</code>) that may contain newlines and I want to replace them with their HTML counterpart: <code>&lt;br /&gt;</code>. How can I do this? I'm using Thymeleaf 2.1.4.RELEASE.</p>