Strip spans from inline edit.