fix paste bug

This commit is contained in:
MathMan05
2026-04-04 15:20:09 -05:00
parent d627dd5c62
commit 2e62662a89
+1 -1
View File
@@ -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;