diff --git a/dist/showdown.js b/dist/showdown.js index 03620b4..88931e8 100644 Binary files a/dist/showdown.js and b/dist/showdown.js differ diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 515d2f7..9c0a23c 100644 Binary files a/dist/showdown.js.map and b/dist/showdown.js.map differ diff --git a/dist/showdown.min.js b/dist/showdown.min.js index b7394f5..94a577c 100644 Binary files a/dist/showdown.min.js and b/dist/showdown.min.js differ diff --git a/dist/showdown.min.js.map b/dist/showdown.min.js.map index f36df2a..29bc3c4 100644 Binary files a/dist/showdown.min.js.map and b/dist/showdown.min.js.map differ diff --git a/src/subParsers/blockGamut.js b/src/subParsers/blockGamut.js index e2c24a6..b396806 100644 --- a/src/subParsers/blockGamut.js +++ b/src/subParsers/blockGamut.js @@ -13,10 +13,10 @@ showdown.subParser('blockGamut', function (text, options, globals) { text = text.replace(/^[ ]{0,2}([ ]?\-[ ]?){3,}[ \t]*$/gm, key); text = text.replace(/^[ ]{0,2}([ ]?_[ ]?){3,}[ \t]*$/gm, key); - text = showdown.subParser('tables')(text, options, globals); text = showdown.subParser('lists')(text, options, globals); text = showdown.subParser('codeBlocks')(text, options, globals); text = showdown.subParser('blockQuotes')(text, options, globals); + text = showdown.subParser('tables')(text, options, globals); // We already ran _HashHTMLBlocks() before, in Markdown(), but that // was to escape raw HTML in the original Markdown source. This time, diff --git a/src/subParsers/tables.js b/src/subParsers/tables.js index 104db35..f3d6f3f 100644 --- a/src/subParsers/tables.js +++ b/src/subParsers/tables.js @@ -142,7 +142,7 @@ showdown.subParser('tables', function (text, options, globals) { tbl.push(''); tbl.push(''); // we are done with this table and we move along - out.push(tbl.join('\n')); + out.push(showdown.subParser('hashBlock')(tbl.join('\n'), options, globals)); continue; } }