What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

e.g.:

Source

[This link will merge with the text and the 2nd link][1]

non-link text

[this link causes the previous link to merge with it.][2] 

[1]: http://example.com/ 
[2]: http://example.com/áéíóúö/

Demonstration

This link will merge with the text and the 2nd link

non-link text

this link causes the previous link to merge with it.

Description

Note that there are client side and server side bugs with this.

Server side: when rendered the above is one link, pointing to http://example.com/
Client side: when previewed only the first link is linked.

I'm primarily concerned about the foreign alphabet characters since they are the most frequently used, not other glyphs that may be used in URLs.

Possible workarounds

As I've said elsewhere:

Sometimes URLs can fail to link correctly because they contain disallowed characters. In these cases encode the characters using the % notation. Previously characters such as () [] ' and * were not allowed but the server-side Markdown renderer has been modified to accept them now. Currently the only (known) characters that aren't accepted are ones with accents, graves, diaeresis etc. For example: é or ö, although with wikipedia links you can just use the unadorned character.

share|improve this question
5  
crazy moon language! –  Jeff Atwood Jul 13 '09 at 15:10
2  
This is Jeff's sneaky way of trying to force everyone into an English-dominated world. –  TheTXI Jul 13 '09 at 15:10
1  
I'm sure someone will be along shortly with a Greasemonkey solution. –  Hilarious Comedy Pesto Jul 13 '09 at 15:11
2  
HURRY UP JONATHAN! –  TheTXI Jul 13 '09 at 15:12
2  
See Jeff, you used RegEx, and now you've got two problems. –  Eric Jul 13 '09 at 15:19
6  
well, three, counting you –  Jeff Atwood Jul 13 '09 at 15:25
    
Touche, good sir. Could you post how you solve this, though? I've yet to do RegEx on anything but the standard US alphabet, so I'm intrigued at the ranges you need to use to include the rest of the world as well as thwart potentially dangerous URLs/code. –  Eric Jul 13 '09 at 15:31

2 Answers 2

You can place such links using the link insertion toolbar button, aka Ctrl+L.

http://example.com/áéíóúö/

inserted as stated above:

link text goes here

share|improve this answer

If you use numeric or named html entity references it seems to work code as above but with some of these in [2], don't know if this is an easier workaround or not.

  [2]: http://example.com/ãâã/

This link will merge with the text and the 2nd link

non-link text

this link causes the previous link to merge with it.

share|improve this answer

You must log in to answer this question.

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