ignore trailing and leading spaces in a link:

fixes #56