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