Also remove empty text nodes before and after block elements