From d26e8aa00a6a83d2e9bcd81efdacaa7f4ca7234a Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 15 Mar 2025 15:45:48 -0500 Subject: [PATCH] make link markdown more picky --- src/webpage/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpage/markdown.ts b/src/webpage/markdown.ts index c541dea..5545f3b 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -423,7 +423,7 @@ class MarkDown { ) { let build = "http"; let j = i + 4; - const endchars = new Set(["\\", "<", ">", "|", "]", " ", "\n"]); + const endchars = new Set("\\<>|[] \n(){}"); for (; txt[j] !== undefined; j++) { const char = txt[j]; if (endchars.has(char)) {