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

fix(util.breakText): take in account international characters #2385

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

MartinKanera
Copy link
Contributor

Description

I changed the regex used to search for the most appropriate place to break the text into multiple lines.

Fixes #2379

Motivation and Context

The old regex did not support international characters which as a result broke text in the wrong places.

@kumilingus kumilingus merged commit c314a3d into clientIO:master Nov 6, 2023
2 checks passed
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.

[Bug]: RegEx for breakText and textWrap opt.hyphen does not include international characters
2 participants