From 7495aa21729d237b58547c85e470124ea8ab1ced Mon Sep 17 00:00:00 2001 From: Takuya Date: Sat, 20 Jan 2024 01:48:53 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=83=87=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5eab068..3acd2d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,7 +33,7 @@ class OriginalInputHandler { private processText(text: string): string { const replacements: [RegExp, string | ((substring: string) => string)][] = [ - [/-\n/g, ""], // Removes hyphen followed by a newline + [/-\n/g, ""], // Removes hyphen followed by a newline [/\n/g, " "], // Replaces newlines with spaces [/- /g, ""], // Removes hyphens followed by a space [/Fig\. /g, "Fig."], // Formats abbreviation for "Figure"