Fix mix of space and nbsp