Hacker News new | ask | show | jobs
by aleem 2640 days ago
­ support has been around for at least a decade and it can be done server side with any logic.

It's probably not needed today but when I first used it the logic was along the lines of adding it at the 5th 7th 9th characters provided there were at least 4 more characters after each ­ or some such while being wary of hanging the last word etc.

It's a soft hyphen meaning the browser will break if needed otherwise ignore it. It's an HTML feature rather than a CSS one which also has implications.

1 comments

Awesome, didn't know about that one.

MDN has a good page to see it in action, as well as comparison with <wbr>

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wb...