Tolerate more whitespace in block elements

Previously the double newlines marking a block mode element couldn’t be
interspersed with whitespace.