Fixed bug where empty inline elements would be created when toggling formatting of in empty block.