fix MD link bug
This commit is contained in:
@@ -416,9 +416,9 @@ class MarkDown {
|
|||||||
a.target = "_blank";
|
a.target = "_blank";
|
||||||
i = j;
|
i = j;
|
||||||
span.appendChild(a);
|
span.appendChild(a);
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (txt[i] === "<" && txt[i + 1] === "t" && txt[i + 2] === ":") {
|
if (txt[i] === "<" && txt[i + 1] === "t" && txt[i + 2] === ":") {
|
||||||
let found = false;
|
let found = false;
|
||||||
const build = ["<", "t", ":"];
|
const build = ["<", "t", ":"];
|
||||||
|
@@ -408,9 +408,10 @@ class MarkDown{
|
|||||||
a.target="_blank";
|
a.target="_blank";
|
||||||
i=j;
|
i=j;
|
||||||
span.appendChild(a);
|
span.appendChild(a);
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
if(txt[i]==="<" && txt[i + 1]==="t" && txt[i + 2]===":"){
|
if(txt[i]==="<" && txt[i + 1]==="t" && txt[i + 2]===":"){
|
||||||
let found=false;
|
let found=false;
|
||||||
const build=["<","t",":"];
|
const build=["<","t",":"];
|
||||||
|
Reference in New Issue
Block a user