From 2e62662a89d317c6c4dc97ef0ea19c95b7a9beb6 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 4 Apr 2026 15:20:09 -0500 Subject: [PATCH] fix paste bug --- 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 2b626bd..5087b82 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -1057,7 +1057,7 @@ class MarkDown { tw.pop(); text = tw.join(""); } - const boxText = text + txt + end; + const boxText = text + txt + (end ?? ""); box.textContent = boxText; const len = text.length + txt.length; text = boxText;