don't render links in MD box

This commit is contained in:
MathMan05 2024-09-05 12:11:17 -05:00
parent 81cc2977b8
commit a50c6c2141
2 changed files with 2 additions and 2 deletions

View file

@ -388,7 +388,7 @@ class MarkDown{
continue;
}
}
if(txt[i]==="h" && txt[i + 1]==="t" && txt[i + 2]==="t" && txt[i + 3]==="p"){
if((!keep)&&txt[i]==="h" && txt[i + 1]==="t" && txt[i + 2]==="t" && txt[i + 3]==="p"){
let build="http";
let j = i+4;
const endchars=new Set(["\\", "<", ">", "|", "]"," "]);