Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I've answered a question on SO here. Embedded are two seemingly identical hyperlinks - but only one appears in markdown preview. Same when the page is returned from the server. The first was typed, the second pasted - after googling for the wikipedia page for 'Model-View-Controller'. Both links can be seen in the source.

Browser is Safari on OS X.

What's going on there?

share|improve this question
up vote 2 down vote accepted

It is the dashes; they are right (45) in the first link, and wrong (8211 = en-dash) in the second. Change the dashes. Did you copy them from the same place?

share|improve this answer
    
Thanks for that Mark - I googled for MVC, visited the wikipedia page, and pasted in the url to the popup box. Then when it didn't work I typed it in. – martin clayton Sep 23 '10 at 6:28
    
@martin - indeed, wiki does have an en-dash version of the same page, but when I copy the URL in Chrome the url is correctly escaped to en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller – Marc Gravell Sep 23 '10 at 6:38
    
@martin often the plain-ascii equivalent also works in wikipedia urls – Jeff Atwood Sep 23 '10 at 7:54
    
interesting, time to update my Chrome and give it a spin. I was using Safari on OS X. Firefox escapes as does Chrome. I should have made the deductive leap from 'I see no differences' to 'the difference must be invisible'... Thanks again. – martin clayton Sep 23 '10 at 9:34
    
@Jeff - thanks - the ascii equivalent does indeed work here. Seems like Safari is somewhat lacking when it comes to copy-paste of URLs from the address bar with chars that need to be escaped. – martin clayton Sep 23 '10 at 22:18

As of recently, when entering a link via the button (or Ctrl-L), the characters will automatically be escaped.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .