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.

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:

http://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.

share|improve this question
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
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

1 Answer 1

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.

share|improve this answer
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 .