Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

See my answer here:

I can't get this page to stop subtracting the xl sales from the total. classic asp

I can't get the


lines to be in the code block, tried loads of things (even changing comments from ' to // to see if it helped).

I'm on Chrome, can anyone else reproduce this as well by editing my answer?

Edit: to reproduce:

  • erg
  • wef

    wefwef rscommon.close wend

Add the two list items, underneath them on single spaces lines add:



Then (without anything else after the code) select it and press format code.

share|improve this question
up vote 2 down vote accepted

The last two lines needed to be indented further so that with the additional list-item indent, they also had the required four-space indent for the code block like the previous lines had. I've gone ahead and made the change for you, though the rscommon.close line may need additional indentation (I wasn't sure).

share|improve this answer
Thanks for that, when I wrote all the code though it was all indented properly, and I selected all the code and pressed code format button and it just refused to do the last 2 lines though. – Tom Jan 14 '11 at 16:46
@TomGullen Ah, interesting...I'll see if I can reproduce that then and let you know what I find. – Tim Stone Jan 14 '11 at 16:47
The <tr> line originally had a ... after it, and the comments were all single ' not //, if that affects anything. Being directly underneath a list might have something to do with it as well. – Tom Jan 14 '11 at 16:48
I've reproduced it in this question, 1) add two list items, 2) underneath have rscommon.close <newline> wend 3) select and press format code – Tom Jan 14 '11 at 16:51

You must log in to answer this question.

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