don't render links in MD box
This commit is contained in:
parent
81cc2977b8
commit
a50c6c2141
2 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,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(["\\", "<", ">", "|", "]", " "]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue