Replace non-breaking spaces with Inflector::slug().

Fixes #2363