There's formatting problem in MW 1.31.0 when <code> tag used. If you start a line inside tag with space, then additional lines appear before and after "code" block.
How to reproduce:
//additional line will appear here by her own
<code>
testline_started_with_space
testline2_started_with_space
</code>
//additional line will appear here by her own