Possible Duplicate:
Code block is not properly formatted when placed immediately after a list item
The title says it all. Here is a reproduction:
- An Item
A second item
// Note that there are four lines of whitespace between the setence and this code public void main() { printf("Hello World!"); }
Now that same code under a regular paragraph:
public void main() {
printf("Hello World!");
}