Relative links in markdown do not resolve correctly unless they include whitespace
Created by: hcoles
Seen in Gitlab 6.5.1 6f6f1588 - raising as issue at request of @maxlazio
Summary
Relative urls in markdown documents are pointed to the wiki if they do not contain whitespace between the [] and () sections.
Steps to reproduce
Create a markdown readme document containing a relative link of the form
see [foo](foo.md)
Browse to the markdown document in gitlab.
Expected behavior
Link should point to http://repo_url/foo.md
Actual behavior
Link points to http://repo_url/wikis/foo.md
Behaves as expected if a space is included between [] and ().