From 96f6fc68a3f1ce2e24facd5dd4a92549036211db Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Fri, 25 Apr 2025 17:09:37 -0500 Subject: [PATCH] fix markdown off by 1 error --- 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 4592745..07d9bed 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -312,7 +312,7 @@ class MarkDown { } if ( find === count && - (count != 1 || txt[j + 1] === " " || txt[j + 1] === "\n" || txt[j + 1] === undefined) + (count != 1 || txt[j] === " " || txt[j] === "\n" || txt[j] === undefined) ) { appendcurrent(); i = j;