From 427859b3f74360595ef0f482db6df9bc493e4e20 Mon Sep 17 00:00:00 2001 From: Estevao Soares dos Santos Date: Fri, 2 Jun 2017 03:30:01 +0100 Subject: [PATCH] chore: remove strayed counter --- dist/showdown.js | Bin 89523 -> 89502 bytes dist/showdown.js.map | Bin 259371 -> 259288 bytes dist/showdown.min.js | Bin 37639 -> 37631 bytes dist/showdown.min.js.map | Bin 40035 -> 40007 bytes src/subParsers/hashHTMLBlocks.js | 4 +--- 5 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/showdown.js b/dist/showdown.js index 7f49dff4d564bc9fbf60014b15cefb28cf0f7ed2..fd063a46b892526e1ae9a555edee968b485f0152 100644 GIT binary patch delta 23 fcmdnIn|0o9)(uv-Hap!~#WeZt9iz?KcRLyYk|PXa delta 38 tcmbQYn|1SU)(uv-*cCD}6>Jp@He23W%{2M(9b+~Hpoq5iW`VnX4FE1-4^RLA diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 34bca660bce6a8d82d1a8d9a65f0a6abbeb25d38..213e449244f2ad9758e2a5b26d00a3eb4143a501 100644 GIT binary patch delta 152 zcmV;J0B8TJ>JQlI4}i1*+mVwn=L838LM%~1K~a-IvlWwIgbI@&E(MpbJpu}sfcXIm zlVF=3lQ1(1mrykV8Iuq@3YUPE0Tj2Ok^v?Jm+*lC2AB680u+;Am=u%yfe8gHS3yBn zlaMhkw@H@)0tEtcMwiiA0UMWqN&ys?V9Eg$hmf2Bw~(9y+RwLgYy-UlmoaYxGq-VX G1G(Q$UMT6Ri0*^{?K>vLynYFcYn zmn9Y{gQf97_rgdhTMy{=`El6B5sVFru+d2`* bF^JVm&d*CuEYZl-tesqFBeJ<7rr!(zjWjB5 delta 134 zcmeyrl&O6g(}wJ5W&@q9$yw2Q64|y&HcHy5(dn_;N-;4>(Q$UMT6Ri0Ig>X;>vLym zYFcYnmn9Y{<^b zJB|a*%7;WFx#9v!AIsaehiT`W>wM9$ zzL?zqIsfzVJD-34{-Eun2W|I5+gD!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4NHEHSts%#0>jK-=2 zPq^5OqJSBe7Hc)A*zcj7oIX$FL{g;Z6c;I(2#%8S8gT@&t*A}z4`qZ_+DFZHwW>>NY191<7BF+?@p zh#~@6(Cd6I*IWz7&~;rkWT9B2q9Z#Sxw2J`nJQuBR*$@zeq^Ic-v0WppH@{eRb$@> z49{Avd&S#(wzMvJCNx!nQ@2jH_tJI1v|06Z1%7r5>knHNFI^Zn4H;5=#+m*UjTLn6 zTttjE$qBxk;kzYlYUHiS0z_{ozLeqaIZgb@d3JqEJ1@j}bXmSi5oK~l8^HFE`*8`=Dfmp3MInsH7E`fK8jwve+}^hhebKFjLR&NgW<(+$N=N@Zcha=uYb6! z!qy^(#qN*~2t)K6AMB{Ej|;mFr8f>7#vqBKKNv&GqxfdY{{WZ|Tbna_Rpy#P!4lI4 zJ*UWbs4p22HvI67*b{zg1)|{ jnw%p|lFTT^AQwWPv)&qCfAeiG)(J!uFRz~Xrq}atUy&ob diff --git a/src/subParsers/hashHTMLBlocks.js b/src/subParsers/hashHTMLBlocks.js index 888d304..74b4284 100644 --- a/src/subParsers/hashHTMLBlocks.js +++ b/src/subParsers/hashHTMLBlocks.js @@ -50,7 +50,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) { for (var i = 0; i < blockTags.length; ++i) { - var opTagPos, ii = 0, + var opTagPos, rgx1 = new RegExp('^ {0,3}<' + blockTags[i] + '\\b[^>]*>', 'im'), patLeft = '<' + blockTags[i] + '\\b[^>]*>', patRight = ''; @@ -65,9 +65,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) { if (newSubText1 === subTexts[1]) { break; } - text = subTexts[0].concat(newSubText1); - ii++; } } // HR SPECIAL CASE