Support Markdown links with multiple spaces in front

Current markdown-js was failing if you attempted to format:

`[URL and title](/url/  "title preceded by two spaces").`

In this case, it would put the second space in the url section:

`<p><a href="url " title="title">text</a></p>`

This patch ensures that the URL has no trailing spaces.