I\'m using marked.js so users can create posts using markdown. I\'m converting body into html and sanitizing it in the back end. In the front end,
body
html