When a hyperlink contains a ( character that is matched at the end of the URL by a ) character, AskUbuntu should recognize that the final ) character is part of the URL. However, currently that is not the case, for example:


I noticed this bug when revising a post (see the original revision here).

Of course, it's important that a fix for this bug not be overzealous in recognizing trailing ) characters as part of URL's. An unmatched ) at the end of a URL (i.e., one that does not have a corresponding ( character earlier in the URL) should not be taken as part of the URL. URL's are frequently present at the end of parentheses-enclosed text, and it would be bad to break that currently-working functionality. For example, this behavior should not be changed:

Wikipedia has an article on URL's (at http://en.wikipedia.org/wiki/Uniform_Resource_Locator).


See URL detecting error with address like "http://en.wikipedia.org/wiki/Octet_(computing)" on Meta Stack Overflow for details; long story short: After the next build of the site, this will work as you had expected.

  • Glad to hear it, thanks! Jan 25 '13 at 19:31

This is indeed a bug, and should be addressed.

There's a workaround, though...

[Wikipedia - Ubuntu (Operating System)](http://en.wikipedia.org/wiki/Ubuntu_(operating_system))

yields this:

Wikipedia - Ubuntu (Operating System)

You must log in to answer this question.

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