I answered this question (links to my answer) and uploaded a couple of screenshots:

Connection between MSSQL and PHP 5.3.5 on IIS is not working

When I was composing the answer one of the uploaded screenshots wouldn't appear in the preview properly:

https://stackoverflow.com/posts/5432118/edit (screen capture)

Yi on chat had a look and it noted that removing the <pre> tags resolves this and that showdown.js (?) might not be handling raw HTML markup properly?


Arjan also points out in his answer that using sole <-- without a corresponding inside the <pre></pre> tags is also breaking something. See below.

  • 1
    When using <pre> (rather than indenting 4 spaces), one needs to HTML encode some characters manually to ensure a browser does not interpret it. This includes the < and > characters. So, to show the <-- without any issues, one would better type &lt;-- instead.
    – Arjan
    Mar 25 '11 at 12:47
  • 4
    I missed this report. See meta.stackexchange.com/questions/89734/mysterious-butt, which was arguably more interesting :)
    – balpha
    May 3 '11 at 19:43
  • @balpha - yep that's a way more interesting variant :)
    – Kev
    May 3 '11 at 20:25

It's lowercasing the image URL, somehow, and http://i.stack.imgur.com/yqdjc.jpg is not the same as http://i.stack.imgur.com/yqDjc.jpg.

For this specific case, this is caused by the non-encoded <-- below (which should read &lt;-- instead):

extension=php_pdo_sqlsrv_53_nts_vc9.dll   <-- optional

This also breaks other parts of the preview.

However, I've noticed that while editing, images might temporarily not render either when typing an opening tag somewhere above an image, and/or when opening and closing tags don't match yet? Like as soon as one has typed <b for <b>...</b>, an unrelated image might no longer show.

So the bug report still stands, I'd say.

  • Some day, the lowercase image URL will in fact exist, but be a different image. That might have been fun!
    – Arjan
    Mar 25 '11 at 12:35
  • LOL...I hadn't spotted that case mattered. Also good catch on the <--, I missed that. Have fudged for now.
    – Kev
    Mar 25 '11 at 12:37
  • now here - Mysterious Butt
    – YOU
    May 3 '11 at 19:32

You must log in to answer this question.

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