I have a friend with a very long email address. They wish to display this address on their site, but on mobile devices it breaks their layout it overflows the page width.
I tried inserting a zero-width space and this helped with the layout problem, but it means that users cannot copy and paste the address into an email client.
While it's true that that problem could be solve by making the text a mailto:
link, it did get me wondering:
Is there a way to direct a browser to optionally break on certain characters without having to insert non-printable characters that could cause copy-and-paste issues?