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

Avoid wrapping lines inside of numbers #252

Closed
walles opened this issue Nov 1, 2024 · 1 comment
Closed

Avoid wrapping lines inside of numbers #252

walles opened this issue Nov 1, 2024 · 1 comment

Comments

@walles
Copy link
Owner

walles commented Nov 1, 2024

See this screenshot for example: #250 (comment)

We should treat numbers as words when we wrap.

Unclear what we should do with abc123, but as long as we don't wrap in the middle of 123 I'll consider this issue fixed.

@walles walles closed this as completed in f0d198f Nov 2, 2024
@walles
Copy link
Owner Author

walles commented Nov 2, 2024

This was due to not breaking on hyphens.

Thus there was nowhere to break these lines, and we fell back to just cutting at the right edge.

Fixed now.

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

No branches or pull requests

1 participant