Skip to content

Commit 93ee851

Browse files
committed
there ALWAYS has to be a last minute fix doesn't it?
1 parent f4eee93 commit 93ee851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/newline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function newline(str: string, chars: number, startWith: string = ""): str
1010
let word = string.concat(" ");
1111
if (word.trim().startsWith("**")) {
1212
word = `\n${word}`;
13-
length -= word.length + startWith.length;
13+
length -= (word.length + startWith.length);
1414
}
1515
length += word.length;
1616
while (length > chars + i) {

0 commit comments

Comments
 (0)