Explorar o código

Fix: list fixer disable

Sotaro KARASAWA %!s(int64=10) %!d(string=hai) anos
pai
achega
393edd1f1d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      resource/js/crowi.js

+ 0 - 1
resource/js/crowi.js

@@ -183,7 +183,6 @@ Crowi.rendererType.markdown.prototype = {
   preFormatMarkdown: function(content){
     var x = content
       .replace(/^(#{1,})([^\s]+)?(.*)$/gm, '$1 $2$3') // spacer for section
-      .replace(/^(\s*)(\*|\-)([^\s]+)?(.*)$/gm, '$1$2 $3$4') // spacer for list
       .replace(/>[\s]*\n>[\s]*\n/g, '> <br>\n> \n');
     return x;
   },