Fix mix of space and nbsp
Merge pull request #2114 from frederic34/patch-4

Fix mix of space and nbsp