cfinke / Typo.js

A client-side JavaScript spellchecker that uses Hunspell-style dictionaries.
Other
501 stars 110 forks source link

- correct BUG to check hEllo false... #74

Closed ocordes closed 2 years ago

ocordes commented 3 years ago

Hi,

I was wondering while hEllo was checked OK which is not. I found something in the check routines, in which the test word will be completely converted into lower case, which hides the wrong written upper case characters. If I understood the test strategy correctly this PR should fix it or at least gives a hint how to change this!

Cheers, Oliver

cfinke commented 3 years ago

I agree with the assessment that hEllo should be marked incorrect, but it will take a little more work than this to confirm that all cases are being handled. I'm working on a patch today.