Are you seeing this within Sigil itself, or are you by chance using the KePub Output Plugin for Calibre to load your books onto your Kobo? There's a known issue that removed the spaces like that, and the solution is to downgrade to v3.7.0. See
here for more details.