at end of text: "hello<br><br>" sel=host@2
at end of text after undo: "hello"
in empty host: "<br><br>" sel=host@1
in empty host after undo: ""
