From c23347e394a57fb3c6a5ee812ac4128024fd7d47 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 8 Oct 2024 13:49:13 -0500 Subject: [PATCH] formating improvement --- src/webpage/markdown.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/webpage/markdown.ts b/src/webpage/markdown.ts index bf9088f..13c711a 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -440,18 +440,7 @@ txt[j + 1] === undefined) if(txt[i] === "<" && (txt[i + 1] === "@" || txt[i + 1] === "#")){ let id = ""; let j = i + 2; - const numbers = new Set([ - "0", - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - ]); + const numbers = new Set(["0","1","2","3","4","5","6","7","8","9",]); for(; txt[j] !== undefined; j++){ const char = txt[j]; if(!numbers.has(char)){