fishy styling behavior

the #(comment) in a code block is misinterpreted as h1 after a list.

Wasn't occurring anywhere else on page