I have a JSON table with posts. Content is delivered in HTML, and when I try to render it in React:
return (
<article>
<h2><a href={post.link}>{post.title.rendered}</a></h2>
<div className="post__content">{post.content.rendered}</div>
</article>
)
I am getting full HTML markup printed (escaped). What should I do?