Enhanced comparison of block elements with whitespace among them.