فهرست منبع

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

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است