Skip to content

fix: calculation of maximum line length#9

Open
SRWieZ wants to merge 1 commit into
joetannenbaum:mainfrom
SRWieZ:fix/lines-emojis
Open

fix: calculation of maximum line length#9
SRWieZ wants to merge 1 commit into
joetannenbaum:mainfrom
SRWieZ:fix/lines-emojis

Conversation

@SRWieZ
Copy link
Copy Markdown

@SRWieZ SRWieZ commented Oct 25, 2025

Use mb_strwidth instead of mb_strlen to account for wide characters (emojis, CJK)

@SRWieZ
Copy link
Copy Markdown
Author

SRWieZ commented Oct 25, 2025

This fixes this unwanted additional empty line after Improvement:

Capture d’écran 2025-10-25 à 13 04 46

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.

1 participant