Yuki Takei 7 лет назад
Родитель
Сommit
f23420cbd8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      resource/js/components/PageEditor/MarkdownTableUtil.js

+ 1 - 1
resource/js/components/PageEditor/MarkdownTableUtil.js

@@ -11,7 +11,7 @@ class MarkdownTableUtil {
     // https://regex101.com/r/7BN2fR/7
     this.tableAlignmentLineRE = /^[-:|][-:|\s]*$/;
     this.tableAlignmentLineNegRE = /^[^-:]*$/;  // it is need to check to ignore empty row which is matched above RE
-    this.linePartOfTableRE = /^\|[^\r\n]*|[^\r\n]*\|$|([^\|\r\n]+\|[^\|\r\n]*)+/; // own idea
+    this.linePartOfTableRE = /^\|[^\r\n]*|[^\r\n]*\|$|([^|\r\n]+\|[^|\r\n]*)+/; // own idea
 
     this.getBot = this.getBot.bind(this);
     this.getEot = this.getEot.bind(this);