2bd56a246f
To reproduce it, I just added a smiley via the popup and inserted some character directly afterwards. While the smiley img was saved, the text was not 8-o (it even did not appear in the HTML source view of the editor before the save).