Append BR element

Given an empty editor, when you type a prefix, you lose your selection because
the LI has no BR element inside it.

Oddly, in the tests a BR element is added. I couldn't figure out why they behave
differently.