title: How to escape HTML tags in NextJS
body: <p>I have Django backend and Nextjs frontend.</p>
  <p>When I try to render
  <code>content = models.TextField()</code> from my Django backend to Nextjs frontend <code>&lt;p&gt;{data.content}&lt;/p&gt;</code> , I get following rendered:</p>
  <pre><code>&lt;p&gt;first&amp;nbsp;first&amp;nbs&lt;/p&gt;
  </code></pre>
  <p>I use django_summernote as the editor. Django has | <a href="https://stackoverflow.com/questions/61819183/django-why-does-the-text-that-i-placed-in-django-summernote-displays-html-tags">safe method</a>, that escapes rendering HTML, but I don't know what to use for NextJS. Any help is appreciated</p>