From cf2a9075ae85aecbb6306bdd065b3072502b00e8 Mon Sep 17 00:00:00 2001 From: Estevao Soares dos Santos Date: Tue, 20 Dec 2016 21:44:15 +0000 Subject: [PATCH] chore: small blockGamut regex fix --- dist/showdown.js | Bin 72721 -> 72719 bytes dist/showdown.js.map | Bin 214223 -> 214221 bytes dist/showdown.min.js | Bin 29574 -> 29572 bytes dist/showdown.min.js.map | Bin 32736 -> 32736 bytes src/subParsers/blockGamut.js | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/showdown.js b/dist/showdown.js index 2b5a69d03cbf7e5d3b87d6447b4b855b65c93938..30049d92b9907f5f5b70e5f23dcce9bb21dcbd8f 100644 GIT binary patch delta 40 wcmbQZgQb55i-5JhmZCy&Mt*rpetDjPk-8Ht}v=-jp>H03S{dF#rGn delta 53 zcmeC*!7_0Ni-5JhmZCy&Mt*rpetDjPq2)$_q^8M*O(r}l`sukk3fZZZn$}#C3mfG& JpKEfQ2>{|e5|#h} diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 13378d753cf27df1c9afcd63d55b180c7dbee65f..7c9e0872895ee77ca22dafd70e7800eea8f4dba9 100644 GIT binary patch delta 105 zcmX@#$$PewcSGgZX`dKHrrWnLvQ8HG#x*@KhS7Gi!cM-)0kZ`VG7IuJm~vdE7rHRY zPfy?ks&9~HWSxG1laaMK{M+{MZ;T=9rk5;XQs<4=tTxuEjaG<>DT&qE{%{G?yZHbv Cb|)MF delta 111 zcmX@x$$P$&cSGgZ=@0%ha!s!P#X60hiFLYt3nS~~1$i7y1uoMAV;F5GE9~T(957pS z>H;QKOhtJv(+gb~<)e%Sy35*ZEZ delta 39 vcmZp9&e-;xkzZd+QK2{^zdR+sJWs*UawC73*3M>;Rq; B5WoNc delta 51 zcmaFxpYg$e#tpoVeC1A#j+IV{I_{3n=FZuZ9~y~F=5^#^bv1R)cAk9DL}YS+vDoGe H#|k?D^u-bH diff --git a/src/subParsers/blockGamut.js b/src/subParsers/blockGamut.js index c2f20fd..3d4ebca 100644 --- a/src/subParsers/blockGamut.js +++ b/src/subParsers/blockGamut.js @@ -15,8 +15,8 @@ showdown.subParser('blockGamut', function (text, options, globals) { // Do Horizontal Rules: var key = showdown.subParser('hashBlock')('
', options, globals); text = text.replace(/^( ?-){3,}[ \t]*$/gm, key); - text = text.replace(/^( ?\*){3,}[ \t]*$$/gm, key); - text = text.replace(/^( ?_){3,}[ \t]*$$/gm, key); + text = text.replace(/^( ?\*){3,}[ \t]*$/gm, key); + text = text.replace(/^( ?_){3,}[ \t]*$/gm, key); text = showdown.subParser('lists')(text, options, globals); text = showdown.subParser('codeBlocks')(text, options, globals);