In a mail I want to display a java variable :
context.setVariable("content", "Hi<br>This is a test<p></p>");
In the mail template I do :
<p><span th:text="|${content}|"></span></p>
In the mail this is converted in :
<p><span>Hi<br>this is a test<p></p></span></p>
How to make the variable well interpretated.
Thank you.