diff --git a/public/libs/showdown.js b/public/libs/showdown.js index a3a8b8e..7354d8e 100644 --- a/public/libs/showdown.js +++ b/public/libs/showdown.js @@ -449,7 +449,6 @@ var _RunBlockGamut = function(text) { // These are all the transformations that form block-level // tags like paragraphs, headers, and list items. // - text = _DoHeaders(text); // Do Horizontal Rules: var key = hashBlock("
"); @@ -461,6 +460,8 @@ var _RunBlockGamut = function(text) { text = _DoCodeBlocks(text); text = _DoBlockQuotes(text); + text = _DoHeaders(text); + // We already ran _HashHTMLBlocks() before, in Markdown(), but that // was to escape raw HTML in the original Markdown source. This time, // we're escaping the markup we've just created, so that we don't wrap