This demonstrates a bug: an extra line is added during paste. Pasting a line of text plus an interchange newline should result in one empty line. We need to prune the empty end div in the same way that we would prune it if it had a br propping it open.
foo