Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 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

The code in this question:

http://stackoverflow.com/questions/2676029/retrieve-a-value-inside-a-stored-procedure-and-use-it-inside-that-stored-procedur

is shown as unformatted to me in FF 3.6.3

However, when I press edit, the code seems to be 4-spaces indented and shows formatted in the preview.

share|improve this question

closed as off-topic by Martijn Pieters, senshin, Doorknob, Troyen, Robert Cartaino Jan 31 '15 at 0:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "The problem described here can no longer be reproduced. Changes to the system or to the circumstances affecting the asker have rendered it obsolete. If you encounter a similar problem, please post a new question." – Martijn Pieters, senshin, Doorknob, Troyen, Robert Cartaino
If this question can be reworded to fit the rules in the help center, please edit the question.

5  
Strange. You're correct. The relevant revision is no. 3, which is unformatted in the revision list, but formatted in the WMD preview; and it's correctly 4-space indented – balpha Apr 20 '10 at 15:21
up vote 0 down vote accepted

Select the code and hit the "101010" button in the edit. See if it changes.

share|improve this answer
    
It did change. However, revision 3 of the post: stackoverflow.com/posts/2676029/revisions used the same formatting: stackoverflow.com/revisions/… but did not show right. – Quassnoi Apr 20 '10 at 15:19
    
@quass I suspect non-printable characters. – Jeff Atwood Apr 20 '10 at 23:50
    
@jeff: non-printable characters as opposed to spaces? :) – Quassnoi Apr 21 '10 at 9:08
    
@quass I mean like tabs or unicode spaces. At any rate, [no-repro] – Jeff Atwood Apr 21 '10 at 11:45
    
Marking this as accepted since it fixed this very post, however, one can still observe the bug in the revision list. – Quassnoi Apr 22 '10 at 17:22
// This is code

Code blocks don't always show up correctly at the start of a post. I think this has been reported before, but I can't find it.

share|improve this answer
    
not true for months, that was an extremely old bug pre-MarkdownSharp – Jeff Atwood Apr 20 '10 at 21:57
    
@Jeff: I'm pretty sure I've seen this within the last month, though, but I didn't make a note of the post because it was a known bug. – mmyers Apr 20 '10 at 22:10

Add some empty lines before the code block to work around it.

share|improve this answer
    
not necessary.. – Jeff Atwood Apr 20 '10 at 21:58
    
@Jeff: It used to be necessary, was this fixed? – sth Apr 21 '10 at 0:01
delimiter //
CREATE DEFINER=root@localhost PROCEDUREgetData(IN templateName VARCHAR(45),IN templateVersion VARCHAR(45),IN userId VARCHAR(45))
BEGIN

notice code block at start of post.

share|improve this answer

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