Pandoc self-contained does not properly handle links to fonts in css
Closed this issue · 2 comments
humburg commented
With Pandoc 1.16.0.2 the following conversion attempt fails:
echo '<link rel="alternate stylesheet" type="text/css" href="https://netdna.bootstrapcdn.com/bootswatch/3.0.0/amelia/bootstrap.min.css" title="Amelia" media="screen"></link>' > test.md
pandoc test.md --to html --from markdown --self-contained --output out.html
producing this error:
pandoc: Could not fetch //fonts.googleapis.com/css?family=Lobster|Cabin:400,700
InvalidUrlException "//fonts.googleapis.com/css?family=Lobster%7CCabin:400,700" "Invalid URL"
Using pandoc 1.13.2 this seems to work as expected. Related to #1477