0
Hello. I’m building a Javascript blog with Next JS and recording the content of the post in Firebase. I wonder if there is any function in javascript so that when returning the content of the post with html tags merged into it, it displayed the formatted text. Example:
This is a paragraph
instead of
<p>Isto é um parágrafo</p>
This is the excerpt where I display the content that would come formatted:
<div className="column is-9">
<div className="is-size-6">
{content}
</div>
<br />
</div>
how are you leaving in javascript? Both ways are possible.
– Romeu Gomes - Brasap