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

In this answer, the second link is not properly displayed, but the edit page with the preview works as expected.

Displayed answer

Displayed answer

Edit screen + preview

Edit screen + preview

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I fixed it. Links aren't expected to have spaces, so when a space is present in an anchor link (which happens a lot in Javadocs), it must be encoded as %20.

The previewing formatter does seem to be too permissive, though. It definitely shouldn't let anything through that won't work in the real formatter.

share|improve this answer
Thanks for the help. I'm still concerned about the preview working and not the actual transformation. –  Robert Munteanu Aug 13 '09 at 22:19
There are several cases in which I've noticed the preview window behaving differently. Offhand, I can think of markdown inside words (like wordboldword) and links with backslashes. –  mmyers Aug 13 '09 at 22:22
  1. Links should not have spaces.

  2. If you feel strongly that the javascript preview needs to be improved, it is open source, have at it!

share|improve this answer

You must log in to answer this question.

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