make link markdown more picky
This commit is contained in:
parent
44befe0ef7
commit
d26e8aa00a
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ class MarkDown {
|
||||||
) {
|
) {
|
||||||
let build = "http";
|
let build = "http";
|
||||||
let j = i + 4;
|
let j = i + 4;
|
||||||
const endchars = new Set(["\\", "<", ">", "|", "]", " ", "\n"]);
|
const endchars = new Set("\\<>|[] \n(){}");
|
||||||
for (; txt[j] !== undefined; j++) {
|
for (; txt[j] !== undefined; j++) {
|
||||||
const char = txt[j];
|
const char = txt[j];
|
||||||
if (endchars.has(char)) {
|
if (endchars.has(char)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue