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 uri resolution (in epub writer ?) #1669

Closed
dgerber opened this issue Oct 8, 2014 · 1 comment
Closed

Proper uri resolution (in epub writer ?) #1669

dgerber opened this issue Oct 8, 2014 · 1 comment

Comments

@dgerber
Copy link

dgerber commented Oct 8, 2014

Pandoc (1.13.1) seems to resolve uris like file paths.

pandoc -o tmp.epub http://www.fsf.org/about
pandoc: Could not find media `http://www.fsf.org/about/http://www.fsf.org/static/fsforg/css/img/newsitem_icon.gif', skipping...

Related problems:

  • data uris are dereferenced instead of just copied
  • the <base> element in HTML documents is ignored
  • absolute uris are not recognized
  • relative uris are resolved (wrongly) like file paths
@dgerber
Copy link
Author

dgerber commented Oct 8, 2014

Thanks!
This should fix both absolute URIs and the problem with data: (these were looking for http://ex.com/p/data:img+etc.).

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

No branches or pull requests

1 participant