really fix #7
This commit is contained in:
parent
c77eabcad2
commit
51ab39e0ba
|
@ -28,7 +28,7 @@ export function dmSlice(raw: string): string[] {
|
||||||
let toLastNextLine = front.slice(front.lastIndexOf("\n"), front.length);
|
let toLastNextLine = front.slice(front.lastIndexOf("\n"), front.length);
|
||||||
front = front.slice(0, front.lastIndexOf("\n"));
|
front = front.slice(0, front.lastIndexOf("\n"));
|
||||||
end = toLastNextLine + end;
|
end = toLastNextLine + end;
|
||||||
if (end.slice(0, 1) == "\n") {
|
if (end.slice(0, 3) == "\n\n") {
|
||||||
end = "ㅤ" /* 공백문자 */ + end;
|
end = "ㅤ" /* 공백문자 */ + end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue