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

View File

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