Skip to content

Comments

Zero-width character handling#58

Closed
r0wanda wants to merge 4 commits intosindresorhus:mainfrom
r0wanda:main
Closed

Zero-width character handling#58
r0wanda wants to merge 4 commits intosindresorhus:mainfrom
r0wanda:main

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

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.

2 participants