Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 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 Duplicate:
Links to URLs containing parentheses

I'm having trouble posting links to the Java documentation. Specifically, I'd like to link "Math.pow" to http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double, double). Even though doing something like

[Math.pow][1]
[1]:http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double, double)

works in the previewer, it doesn't display right in the final post.

None of the standard Markdown approaches seem to work:

[Math.pow][1]

[1]:http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double, double)

[Math.pow](http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double, double))

Math.pow

http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double, double)

share|improve this question

marked as duplicate by Robert Harvey, Michael Mrozek, Mark Elliot, Pops, Grace Note Sep 27 '10 at 15:00

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.

    
@Robert: well, not quite; I've just tried #5, #6, #7 and #8 (just now because of your link) and none of them work. What's the deal? – Mark Elliot Sep 27 '10 at 11:56
    
Ah, misclicked! I was supposed to actually point to this one that even is talking about the Java API. – Grace Note Sep 27 '10 at 15:03
up vote 1 down vote accepted

The issue is entirely with the space appearing in the URL, if it's encoded with a "%20" instead of being left as a space the URL will work just fine:

Math.pow

Math.pow

Math.pow

http://download.oracle.com/javase/6/docs/api/java/lang/Math.html#pow(double,%20double)

(though note the last "bare" link doesn't encode the final parenthesis)

share|improve this answer
    
None of your anchor links work. The page opens, but it does not scroll down to the anchor. It's not a markdown problem either; if you type in your url's directly into the browser, they won't work. The only one that seems to work is the unencoded one. – Robert Harvey Sep 27 '10 at 14:54
    
@Robert: in both Chrome and FireFox all but the last link work for me. – Mark Elliot Sep 27 '10 at 18:08
    
OK. I guess it's a problem in IE8. – Robert Harvey Sep 27 '10 at 20:09

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