Fixed inconsistent editor behavior when inserting links
Improved pasting of <br> formatted text