I'm using the WMD editor https://github.com/derobins/wmd/ (similar to as used on Stack Overflow) to create a WYSIWIG editor to allow users to create HTML-based posts on my application.
It works fine when posting and saves the HTML into the DB great. The problem is when I come to edit the post again it shows the actual HTML inside the textarea. How do I stop this?
EDIT: After some thought it would seem I have to save the content AS markdown in the database and NOT as HTML right? Hence why the Html is coming back rather than nice content?