Browse Source

chore: small blockGamut regex fix

Estevao Soares dos Santos 8 years ago
parent
commit
cf2a9075ae
5 changed files with 6 additions and 6 deletions
  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(){
 (function(){
 /**
 /**
  * Created by Tivie on 13-07-2015.
  * Created by Tivie on 13-07-2015.
@@ -1259,8 +1259,8 @@ showdown.subParser('blockGamut', function (text, options, globals) {
   // Do Horizontal Rules:
   // Do Horizontal Rules:
   var key = showdown.subParser('hashBlock')('<hr />', options, globals);
   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 = text.replace(/^( ?_){3,}[ \t]*$/gm, key);
 
 
   text = showdown.subParser('lists')(text, options, globals);
   text = showdown.subParser('lists')(text, options, globals);
   text = showdown.subParser('codeBlocks')(text, options, globals);
   text = showdown.subParser('codeBlocks')(text, options, globals);

File diff suppressed because it is too large
+ 0 - 0
dist/showdown.js.map


File diff suppressed because it is too large
+ 1 - 1
dist/showdown.min.js


File diff suppressed because it is too large
+ 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:
   // Do Horizontal Rules:
   var key = showdown.subParser('hashBlock')('<hr />', options, globals);
   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 = text.replace(/^( ?_){3,}[ \t]*$/gm, key);
 
 
   text = showdown.subParser('lists')(text, options, globals);
   text = showdown.subParser('lists')(text, options, globals);
   text = showdown.subParser('codeBlocks')(text, options, globals);
   text = showdown.subParser('codeBlocks')(text, options, globals);

Some files were not shown because too many files changed in this diff