VcNarrator: Ignore multiple underscores (#1748)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
ec026ca34c
commit
d0e2a32471
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue