Skip to content

Commit

Permalink
respect signature
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Aug 4, 2020
1 parent b7e7342 commit 955e081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ export function removeHiddenChars(str: string): string {
if (typeof str === "string") {
return unhomoglyph(str.normalize('NFD').replace(removeHiddenCharsRegex, ''));
}
return "";
}

// Regex matching bunch of unicode control characters and otherwise misleading/invisible characters.
Expand Down

0 comments on commit 955e081

Please sign in to comment.