I’m making a simple blog project and I came up to this problem.
I’m using EJS and I’m trying to render variable as HTML using tag
What I tried:
<script>
document.write(<%= content %>)
</script>
</div>```
I thought this would work but it doesn't show
anything at all, if I type
`<p><%= content %></p>` it shows it as words, not HTML.