Skip to content

Commit

Permalink
impr(typing): add ʻ to the list of interchangable 'quotelike' characters
Browse files Browse the repository at this point in the history
this means it can be typed correctly with the usual '
  • Loading branch information
Miodec committed Dec 21, 2024
1 parent 772e4a1 commit 7d53e9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/ts/controllers/input-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,14 @@ function isCharCorrect(char: string, charIndex: number): boolean {
char === "‘" ||
char === "'" ||
char === "ʼ" ||
char === "׳") &&
char === "׳" ||
char === "ʻ") &&
(originalChar === "’" ||
originalChar === "‘" ||
originalChar === "'" ||
originalChar === "ʼ" ||
originalChar === "׳")
originalChar === "׳" ||
originalChar === "ʻ")
) {
return true;
}
Expand Down

0 comments on commit 7d53e9e

Please sign in to comment.