I've posted that answer: https://stackoverflow.com/a/17989511/2605780 and I was fighting a bit with indentation.
No matter what I've set, spaces or tabs, there is no indentation displayed. Both spaces and tabs are ignored. But if you edit a post, you see, that indentation is there.
I see that problem in other places, so it seems to be a problem with Java code in particular, because I haven't notice such problems with Javascript or HTML code blocks.
edit
I'm stuck with IE8, additionally I can't control compatibility settings. So I change 'bug' to 'discussion' with question:
Is the code indentation (and other code formatting/syntax highlighting issues) known and officially confirmed not to work with such configuration?
<pre>tag whitespace could first be displayed collapsed.