How to save html content in mongodb via SpringBoot form
<p>I am working on a SpringBoot based MVC application which uses mongoDB to store the data. I am using thymeleaf as the template engine. In one of the scenarios, the user needs to fill a form which is then displayed on some view.</p>

<p>The problem I am facing is that the user can use html tags to format the data while writing in the textArea of the form (code snippets, tabular format etc). But when I am displaying that text, the html is not being parsed and is displayed as is.</p>

<p><strong>For Ex:</strong> &lt;b&gt;String&lt;/b&gt; should be displayed as <strong>String</strong> but is being displayed as &lt;b&gt;String&lt;/b&gt; only. When I check the source code of the page, the html tags are displayed as encoded i.e. &lt; is showing as &amp;lt ; etc and hence the parsing is not happening.</p>

<p>Can someone please help</p>