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,8 +416,8 @@ 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;

View File

@@ -408,8 +408,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;