Skip to content
New issue

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

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

Already on GitHub? # to your account

Zero-width character handling #58

Closed
wants to merge 4 commits into from
Closed

Conversation

r0wanda
Copy link

@r0wanda r0wanda commented Jun 22, 2024

I submitted a pull request on sindresorhus/string-length#20 and was referred to this package which matches better with my changes. Zero-width characters are still treated as 1 character here, despite having no width.

@sindresorhus
Copy link
Owner

Can you add a test which fails before this change and succeeds after?

@r0wanda
Copy link
Author

r0wanda commented Jun 24, 2024

Alright

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants