Apparently, wordpress.com does not play nicely with pasting source code, especially if you are using the excellent Windows Live Writer and its Code Snippet plugin. I had to google quite a bit before I could figure out the right way to paste source code to my blog using WLW. Thanks to Vadim for his very useful post.
So here’s my test to see if I can post source code properly:
public class HelloWorld {
public static void main(String [] args){
System.out.println("Hello, WordPress.com");
}
}