Fixed #2 "Spaces in generated urls"