Only insert BR into empty block elements

Resolves issue #254 
This behaviour is not desirable — without a `<br>`, block elements with no text aren’t selectable (unless you explicitly give them a `min-height`, but that’s not a great solution).