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

Add non-breaking hyphen #317

Closed
AlsoScratch opened this issue Jun 9, 2020 · 7 comments · Fixed by #555 or #562
Closed

Add non-breaking hyphen #317

AlsoScratch opened this issue Jun 9, 2020 · 7 comments · Fixed by #555 or #562
Assignees

Comments

@AlsoScratch
Copy link

There are several characters I have in mind but U+2010 and non-breaking hyphen (U+2011) are the most important for me.

@BoldMonday
Copy link
Collaborator

Can you provide real-world use cases?
And in what way differs U+2010 from U+002D?

@AlsoScratch
Copy link
Author

Can you provide real-world use cases?
And in what way differs U+2010 from U+002D?

Not sure actually.
But non-breaking hyphen does exactly what it says; it prevents strings like "1-1" from separating into two lines.

@BoldMonday
Copy link
Collaborator

Not sure actually.
But non-breaking hyphen does exactly what it says; it prevents strings like "1-1" from separating into two lines.

Does U+00AD not serve the same purpose?

@AlsoScratch
Copy link
Author

Top: Regular hyphen
Bottom: Non-breaking hyphen
Screenshot 2020-06-10 at 9 42 31 PM

@AlsoScratch
Copy link
Author

AlsoScratch commented Jun 10, 2020

Oh, U+00AD is a soft hyphen, that's completely different.

@tay1orjones
Copy link
Member

Hey there! v6.1.0 was just released that references this issue.

Comment here or join the release discussion to provide feedback or voice concerns. Thanks!

@tay1orjones
Copy link
Member

Hey there! v6.3.0 was just released that references this issue.

Comment here or join the release discussion to provide feedback or voice concerns. Thanks!

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 a pull request may close this issue.

4 participants