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



when I use the above URL as a direct hyperlink inside stackoverflow then the " character is automatically removed when a user selects the hyperlink.

I probably need some kind of escaping - but I couldn't figure out how.

Note: " doesn't work

share|improve this question

3 Answers 3

up vote 2 down vote accepted



I ran a single double quote through PHP's urlencode, which encoded the, you guessed it, chararcters needed to be changed when using a URL.

share|improve this answer
cool! Thanks a lot! –  Vokuhila-Oliba Jan 25 '10 at 19:27
@vokuhila I recommend accepting my answer, since this is really about using a better link syntax for "troublesome" link characters rather than going to all the effort of manually encoding.. –  Jeff Atwood Jan 25 '10 at 20:48
@Jeff Trying to steal my answer eh? Just Kidding. Vok, you need to click the checkmark next to Jeffs answer (The answer below this one) –  Tyler Carter Jan 25 '10 at 22:09
@George Funny how computers make you seem like you are talking to yourself. Skype does that too. –  Tyler Carter Jan 26 '10 at 0:01
@George: I have deleted that confusing comment –  Vokuhila-Oliba Jan 26 '10 at 22:07
- [link style one][1]  
- [link style two](http://www.wolframalpha.com/input/?i=")
- <http://www.wolframalpha.com/input/?i=">
- http://www.wolframalpha.com/input/?i="

[1]: http://www.wolframalpha.com/input/?i="

Should work OK in all non-naked (bare URL) link styles:

share|improve this answer
I tried [1]. But it didn't work. (mmmhh - did I accidently use [1:] instead of [1]: ... ? And the 4th dotted "link style" was the one I tried initially - but no luck. –  Vokuhila-Oliba Jan 25 '10 at 22:53

As of recently, when entering a link via the button (or Ctrl-L), these 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 .