Thanks to @Jay I've found a solution to the problem.
Instead of using .html()
in the converter, it performs perfectly with .text()
.
var converter = new Markdown.Converter();
$(document).ready(function(e) {
$('#content').html( converter.makeHtml($('#content').text()) );
/* and some more --------------------- RIGHT HERE >>>^ */
});
Here is the updated fiddle: http://jsfiddle.net/atdEP/1/