danyaPostfactum/ckeditor-autocorrect-plugin

th is superscript when type when no number

Opened this issue · 0 comments

When the string 'th' (without quotas) is entered and no number is placed in front the th is superscript.

I think it needs a test to see if the variable number is an empty string and return false. Just before the line 'var n = number % 100;'