Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Relative links in markdown result in broken links #80

Open
@spearce

Description

@spearce

Originally reported on Google Code with ID 87

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/Source/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.

Reported by None on 2015-10-13 11:03:58

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions