Skip to content

Proper uri resolution (in epub writer ?) #1669

@dgerber

Description

@dgerber

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions