fix MD link bug
This commit is contained in:
parent
ecbf78b0ff
commit
81cc2977b8
2 changed files with 3 additions and 2 deletions
|
@ -416,9 +416,9 @@ class MarkDown {
|
|||
a.target = "_blank";
|
||||
i = j;
|
||||
span.appendChild(a);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (txt[i] === "<" && txt[i + 1] === "t" && txt[i + 2] === ":") {
|
||||
let found = false;
|
||||
const build = ["<", "t", ":"];
|
||||
|
|
|
@ -408,9 +408,10 @@ class MarkDown{
|
|||
a.target="_blank";
|
||||
i=j;
|
||||
span.appendChild(a);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
if(txt[i]==="<" && txt[i + 1]==="t" && txt[i + 2]===":"){
|
||||
let found=false;
|
||||
const build=["<","t",":"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue