From 51ab39e0bad987dca49c1d310a24f2de2defef97 Mon Sep 17 00:00:00 2001 From: kdh8219 <65698239+kdh8219@users.noreply.github.com> Date: Fri, 5 May 2023 22:49:23 +0900 Subject: [PATCH] really fix #7 --- src/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.ts b/src/functions.ts index 365271f..f1e2879 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -28,7 +28,7 @@ export function dmSlice(raw: string): string[] { let toLastNextLine = front.slice(front.lastIndexOf("\n"), front.length); front = front.slice(0, front.lastIndexOf("\n")); end = toLastNextLine + end; - if (end.slice(0, 1) == "\n") { + if (end.slice(0, 3) == "\n\n") { end = "ㅤ" /* 공백문자 */ + end; } }