fix MD link bug

This commit is contained in:
MathMan05 2024-09-05 12:08:09 -05:00
parent ecbf78b0ff
commit 81cc2977b8
2 changed files with 3 additions and 2 deletions

View file

@ -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", ":"];

View file

@ -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",":"];