diff options
author | Sam <82487541+example-git@users.noreply.github.com> | 2023-09-24 09:55:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 15:55:23 +0200 |
commit | d0e2a324717e600736a18b88fe89a21c640a406b (patch) | |
tree | 2ce98142f563aae7a73c8f5b651d6d0d0efff49d /src/plugins | |
parent | ec026ca34c19ac95abc70c7624ca1885c971e85f (diff) | |
download | Vencord-d0e2a324717e600736a18b88fe89a21c640a406b.tar.gz Vencord-d0e2a324717e600736a18b88fe89a21c640a406b.tar.bz2 Vencord-d0e2a324717e600736a18b88fe89a21c640a406b.zip |
VcNarrator: Ignore multiple underscores (#1748)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/vcNarrator.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx index fe3efdf..4447e08 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(); } |