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

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
4  
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
add comment

4 Answers

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
add comment
// 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 comment

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
add comment
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
add comment

You must log in to answer this question.

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