Skip to content

Commit

Permalink
Use POSIX paths for image directive
Browse files Browse the repository at this point in the history
This hopefully fixes #9.
  • Loading branch information
mgeier committed Jan 16, 2016
1 parent 266464b commit 96f8787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
{{ outputdata.strip(\n) | indent }}
{%- elif datatype in ['image/svg+xml', 'image/png', 'image/jpeg'] %}
.. image:: {{ output.metadata.filenames[datatype] | urlencode }}
.. image:: {{ output.metadata.filenames[datatype] | posix_path }}
{%- elif datatype in ['text/markdown'] %}
{{ output.data['text/markdown'] | markdown2rst | indent }}
Expand Down

0 comments on commit 96f8787

Please sign in to comment.