Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for emojis by using the Intl.Segmenter when splitting characters #98

Merged
merged 4 commits into from
May 31, 2024

Conversation

ste-vg
Copy link
Collaborator

@ste-vg ste-vg commented May 23, 2024

This fixes emojis for browsers that support the Intl.Segmenter. If it is not supported it falls back to the previous way of splitting the characters using the array split function.

Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
splitting-3lxm ❌ Failed (Inspect) May 31, 2024 5:41pm

@ste-vg
Copy link
Collaborator Author

ste-vg commented May 23, 2024

Hopefully fixes #25

@ste-vg ste-vg merged commit 44be027 into shshaw:master May 31, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant