Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 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

Possible Duplicates:
Links to URLs containing parentheses
Please improve the auto-linking to allow square and round brackets

I tried posting the following link in a post on Stack Overflow.

However when clicking on the link, the browser cut off the last part of the url "(int)", so the link did not go to the correct anchor in the page. This happened in Google Chrome, I have not tried any other browsers yet. Is this a bug with Stack Overflow? Is there a way around it?

share|improve this question

marked as duplicate by Arjan, ChrisF, Grace Note, Pops, Jon Seigel Jan 20 '11 at 18:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@Jon that post isn't [status-completed]; this one is – Pops Jan 20 '11 at 15:34

Use proper percent-encoding for reserved characters:

(However, though reserved, a non-encoded bracket could be part of an URL. In this example, it should be encoded though, and meanwhile also fixes the problem with the clickable link...)

It's actually easier to just use Markdown's < ..>, just like shown in the "How to Format" box to the right when composing a post:



would yield:

But: that's still ugly, and to make proper Markdown formatting work in the preview as well, you need the percent-encoded URL anyway:




Much better!

Even though the preview doesn't like trailing parentheses when using the [name](url) or [name][id] syntax, the end result for both is actually fine.

share|improve this answer

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