Is this a known bug?

A link with quotes is visible at preview time, but not visible when actually posted.

The above "link" word at preview time points to this URL (which, as a line on its own at least partially works):


Workaround: fully encode the URL.


After reading https://stackoverflow.com/editing-help (thanks Jeff) and trying to understand what George means, here are some samples in code format to make my question more clear:

This format does not work:

[5]: http://www.google.com/search?q="green+bits"+"red+bits"

This format does not work either:

[6]: <http://www.google.com/search?q="green+bits"+"red+bits">

This format works (but requires you to encode the URL, so you cannot copy/paste from your browseers' address bar):

[7]: http://www.google.com/search?q=%22green%2Bbits%22%2B%22red%2Bbits%22

2 Answers 2




for 4-5 different linking formats

edit: the sanitizer doesn't like the non-encoded " remaining in the URL. I added it to the list of characters encoded in EncodeProblemUrlChars().

  • Jeff, thanks. Totally agree with "status completed". It worked! I'll accept your answer. Commented Jan 18, 2010 at 18:51
  • Is this list available in the pagedown project as well? Couldn't find in its wiki when searching. Commented Jun 4, 2013 at 9:03

The answer isn't to fully encode the URL, the answer is to use an identifier and not just have a stock URL sitting on a page.

  • 1
    I'm not sure I understand your answer. What's a "stock URL"? Your URL (which removes the quotes) results in a semantically different URL than the one with quotes (which goes wrong). I'll try to rephrase my question to make it better readable. Commented Jan 18, 2010 at 15:16

You must log in to answer this question.

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