You do not actually want non-breaking spaces; the results are not pretty (this styling is meant to allow inline code, which depending on its position in the text may well need to be broken across multiple lines - spaces are a pretty good place to do this).