I want to use an rich-text editor inside node. Now i have froala and I can edit text inside a textarea. But if I want to display with ejs <div><%= post.bio %></div>
its not encoded. it looks like <p style="text-align: left;">Viele bekannte Künstler verneigen sich ehrfürchtig vor der Arbeit von Johannes Grützke. Er ist für sie Vorbild, Vorreiter und einfach der genialste Maler mit unverwechselbarer Sicherheit in der Pinselführung
(its german text). So all tag are shown i the text. How can I fix this?
Yes, because when you use <%= %>
you have escaped from html tags. Try to use <%- %>
when you want to display html output.