fix markdown URL logic
This commit is contained in:
@@ -417,7 +417,7 @@ txt[i + 3] === "p"
|
|||||||
){
|
){
|
||||||
let build = "http";
|
let build = "http";
|
||||||
let j = i + 4;
|
let j = i + 4;
|
||||||
const endchars = new Set(["\\", "<", ">", "|", "]", " "]);
|
const endchars = new Set(["\\", "<", ">", "|", "]", " ","\n"]);
|
||||||
for(; txt[j] !== undefined; j++){
|
for(; txt[j] !== undefined; j++){
|
||||||
const char = txt[j];
|
const char = txt[j];
|
||||||
if(endchars.has(char)){
|
if(endchars.has(char)){
|
||||||
|
Reference in New Issue
Block a user