Fix link regexp
This commit is contained in:
@@ -304,9 +304,10 @@ class Link extends Symbol {
|
||||
/**
|
||||
* @type {RegExp}
|
||||
*/
|
||||
static textAndLinkRegExp: RegExp = new RegExp(
|
||||
/\[(?<text>.*)\]\((?<link>.*)\)/
|
||||
);
|
||||
static textAndLinkRegExp: RegExp = new RegExp
|
||||
(
|
||||
/\[(?<text>[^\]]+)\]\((?<link>[^)]+)\)/
|
||||
);
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user