Jelajahi Sumber

chore: small blockGamut regex fix

Estevao Soares dos Santos 8 tahun lalu
induk
melakukan
cf2a9075ae

+ 3 - 3
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown 19-12-2016 */
+;/*! showdown 20-12-2016 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.
@@ -1259,8 +1259,8 @@ showdown.subParser('blockGamut', function (text, options, globals) {
   // Do Horizontal Rules:
   var key = showdown.subParser('hashBlock')('<hr />', 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);

File diff ditekan karena terlalu besar
+ 0 - 0
dist/showdown.js.map


File diff ditekan karena terlalu besar
+ 1 - 1
dist/showdown.min.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/showdown.min.js.map


+ 2 - 2
src/subParsers/blockGamut.js

@@ -15,8 +15,8 @@ showdown.subParser('blockGamut', function (text, options, globals) {
   // Do Horizontal Rules:
   var key = showdown.subParser('hashBlock')('<hr />', 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);

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini