do not include ending punctation in URLs

fixes #39