From d0e2a324717e600736a18b88fe89a21c640a406b Mon Sep 17 00:00:00 2001 From: Sam <82487541+example-git@users.noreply.github.com> Date: Sun, 24 Sep 2023 09:55:23 -0400 Subject: [PATCH] VcNarrator: Ignore multiple underscores (#1748) Co-authored-by: V --- src/plugins/vcNarrator.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx index fe3efdf6..4447e080 100644 --- a/src/plugins/vcNarrator.tsx +++ b/src/plugins/vcNarrator.tsx @@ -66,6 +66,7 @@ function clean(str: string) { return str.normalize("NFKC") .replace(replacer, "") + .replace(/_{2,}/g, "_") .trim(); }