Skip to content

Commit

Permalink
international support
Browse files Browse the repository at this point in the history
  • Loading branch information
tvquizphd committed Jan 6, 2021
1 parent 28b43aa commit dbe14f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/suggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function generate(context, memory, words, edits) {
check(before + inject + nextAfter)

// Try upper-case if the original character was upper-cased.
if (upper && inject !== "'") {
if (upper && inject !== inject.toUpperCase()) {
inject = inject.toUpperCase()

check(before + inject + after)
Expand Down

0 comments on commit dbe14f1

Please sign in to comment.