VcNarrator: Ignore multiple underscores (#1748)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Sam 2023-09-24 09:55:23 -04:00 committed by GitHub
parent ec026ca34c
commit d0e2a32471
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,7 @@ function clean(str: string) {
return str.normalize("NFKC") return str.normalize("NFKC")
.replace(replacer, "") .replace(replacer, "")
.replace(/_{2,}/g, "_")
.trim(); .trim();
} }