How to store html in mysql and retrive it as text/html in nodejs app?

I am making a blog website where the blogpost page contains a title and body. The post body must contain html like heading paragraph and other stuffs. When I’m trying to get that data using mysql, I’m simply getting <h1>Heading </h1> and not as


What can I do about this??

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.