Making relative links in Markdown files

As you can see GitHub has "fixed" the issue about markdown link generation.

However the patch applied by GitHub doesn't work when the branch name has slashes (release/xxx)

https://github.com/github/markup/issues/101#issuecomment-12930521