mirror of
https://github.com/mara-li/obsidian-simple-colored-folder.git
synced 2026-07-22 05:46:20 +00:00
fix: update regex to include additional punctuation in string replacement
close #8
This commit is contained in:
parent
de5f1e4068
commit
cc77f9dc98
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export function standardize(str: string) {
|
|||
.standardize()
|
||||
.unidecode()
|
||||
.replace(/\s/g, "")
|
||||
.replaceAll(/[\.!_]+/g, "");
|
||||
.replaceAll(/[\.!_,&]+/g, "");
|
||||
}
|
||||
|
||||
export function removeExtraNewLine(str: string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue