Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Link to asset files navigated directly#62

Open
kmxz wants to merge 1 commit intoGitbookIO:masterfrom
kmxz:master
Open

Link to asset files navigated directly#62
kmxz wants to merge 1 commit intoGitbookIO:masterfrom
kmxz:master

Conversation

@kmxz
Copy link

@kmxz kmxz commented Dec 22, 2017

The existing implementation treats all relative links as HTMLs and attempt to render them.

However, for links directly pointing to asset files (images, archive files, etc.), the files themselves should be directly opened instead.

This PR fixes the issue GitbookIO/gitbook#1923 (where the issue creator is linking to CSV files).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant