// contorted like /[ \t]*\n+/ .
text = text.replace(/^[ \t]+$/mg,"");
- text = _DoCodeBlcoks(text);
+ text = _DoCodeBlocks(text);
// Turn block-level HTML blocks into hash entries
text = _HashHTMLBlocks(text);
text = text.replace(/^[ ]{0,2}([ ]?\_[ ]?){3,}[ \t]*$/gm,key);
text = _DoLists(text);
-
- text = _DoBlockQuotes(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