shabados/gurmukhi-utils

Unicode vowel-letters do not produce correct firstLetter output

Harjot1Singh opened this issue · 0 comments

Describe the bug
Unicode vowel-letters do not produce correct `firstLetter output. Instead, the conjoined vowel-letter is included.

To Reproduce
firstLetters('ਇਕਨਾ. ਹੁਕਮੀ ਬਖਸੀਸ; ਇਕਿ, ਹੁਕਮੀ ਸਦਾ ਭਵਾਈਅਹਿ ॥') => ਇ.ਹਬ;ਇ,ਹਸਭ॥`

Expected behavior
ੲ.ਹਬ;ੲ,ਹਸਭ॥