The post looks different when in edit mode with respect to how it looks once it is saved. See for example this answer, and specifically the last two lines at the bottom.
In edit mode, I managed to display a single blank line between the two lines of code, but when the post was saved a larger (double) blank line appeared instead.
I believe the preview and final version should be consistent, so I'd like to report this as a bug.