Преглед на файлове

chore: small blockGamut regex fix

Estevao Soares dos Santos преди 8 години
родител
ревизия
cf2a9075ae
променени са 5 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 3 3
      dist/showdown.js
  2. 0 0
      dist/showdown.js.map
  3. 1 1
      dist/showdown.min.js
  4. 0 0
      dist/showdown.min.js.map
  5. 2 2
      src/subParsers/blockGamut.js

+ 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);

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/showdown.js.map


Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
dist/showdown.min.js


Файловите разлики са ограничени, защото са твърде много
+ 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);

Някои файлове не бяха показани, защото твърде много файлове са промени