Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative links in markdown result in broken links #87

Open
GoogleCodeExporter opened this issue Oct 21, 2015 · 0 comments
Open

Relative links in markdown result in broken links #87

GoogleCodeExporter opened this issue Oct 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. In a/b/c/README.md, add a link: [test](../../foo/bar).
2. Observe rendered URL

Expected: links to a/foo/bar in the repository
Actual: links to afoo/bar

e.g.  in 
https://chromium.googlesource.com/chromium/src/+/9248cc7/third_party/WebKit/Sour
ce/platform/graphics/paint/README.md:

../../transforms/TransformationMatrix.h is resolved to 
https://chromium.googlesource.com/chromium/src/+show/9248cc7/third_party/WebKit/
Source/platformtransforms/TransformationMatrix.h

Probably just a trivial case of a missing "/" being added to the URL in 
MarkdownToHtml.

Original issue reported on code.google.com by [email protected] on 13 Oct 2015 at 6:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant