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

Pandoc self-contained does not properly handle links to fonts in css #2737

humburg opened this Issue Feb 24, 2016 · 2 comments


None yet
2 participants

humburg commented Feb 24, 2016

With Pandoc the following conversion attempt fails:

echo '<link rel="alternate stylesheet" type="text/css" href="" title="Amelia" media="screen"></link>' >
pandoc --to html --from  markdown --self-contained --output out.html

producing this error:

pandoc: Could not fetch //|Cabin:400,700
InvalidUrlException "//,700" "Invalid URL"

Using pandoc 1.13.2 this seems to work as expected. Related to #1477


This comment has been minimized.


jgm commented Feb 24, 2016

For posterity, the bug was introduced by ce55834
which was intended to prevent pandoc from treating C:/ in a Windows path as a protocol.
It affects 1.16..


This comment has been minimized.

humburg commented Feb 24, 2016

Thanks @jgm, that was very quick work.

c-forster pushed a commit to c-forster/pandoc that referenced this issue Mar 4, 2016

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