replaces whitespace with dash on category links