If you edit this question, you'll see the problem.
Here's a code block with a paragraph separator char between "foo" and "bar":
var str = "foo
bar"
var also = "other lines"
The above line renders in the preview as if it's not code (ie not indented), however it renders OK when saved.
Although this is pretty minor, it's still a bug.
foo?bar
which is what notepad++ displays ...