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

Proper relative URL support #5

Merged
merged 4 commits into from
Oct 14, 2013
Merged

Proper relative URL support #5

merged 4 commits into from
Oct 14, 2013

Conversation

benbalter
Copy link
Contributor

Previously, relative URLs were only supported in one direction (further down the tree). This pull request adds full support for the following types of URLS in both links and images both relative to the site root and relative to the current page in either direction:

  • /foo.html
  • /foo
  • foo
  • foo.html
  • foo/bar#
  • /foo#

Todo:

  • tests

@benbalter
Copy link
Contributor Author

Believe this should be good to go, if it works for you.

@benbalter benbalter mentioned this pull request Oct 13, 2013
gjtorikian added a commit that referenced this pull request Oct 14, 2013
@gjtorikian gjtorikian merged commit 084e457 into gjtorikian:master Oct 14, 2013
@benbalter benbalter deleted the proper-resolves branch October 14, 2013 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants