tags and categories with spaces get linked correctly

fixes #10 with suggested solution.