Fix the Chrome issue around inserting a span on backspace. Fixes DOT-243.