How to include a non-breaking hyphen in hyperlink text in Word 2010

Posted by dunxd on Super User See other posts from Super User or by dunxd
Published on 2012-09-19T15:29:35Z Indexed on 2012/09/19 15:43 UTC
Read the original article Hit count: 212

Filed under:

I want to include a URL in word document, both as text people can read, and a link they can click. The URL has a hyphen in it. I don't want the URL to get broken across lines.

When I use a regular hyphen, the link works, but the text displayed gets broken.

When I use a non-breaking hyphen (Ctrl+Shift+-) Word removes the hyphen from the link.

When I try and manually edit the hyperlink, I can't add a non-breaking hyphen into the Text to display field using Ctrl+Shift+-.

If I was writing this is HTML I could just do:

<a href="http://www.my-link.com/">www.my&#8209;link.com</a>

How do I get Word to do the equivalent?

© Super User or respective owner

Related posts about word-2010