diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-12 12:15:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-12 12:15:57 +0300 |
commit | 54040bf60eb9da01676b345b0bdccfe736bec9a2 (patch) | |
tree | 29154b6b1692686faccfbbeb1b94798004fd43b8 | |
parent | 6b309fa3b7bbc4db01fafea2e1f5b991cc4578dd (diff) | |
download | subplot.liw.fi-54040bf60eb9da01676b345b0bdccfe736bec9a2.tar.gz |
Change: pandoc-filter to use absolute paths for ikiwiki images
-rwxr-xr-x | pandoc-filter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-filter b/pandoc-filter index d0d0c73..86d7ab3 100755 --- a/pandoc-filter +++ b/pandoc-filter @@ -66,7 +66,7 @@ def process_to_svg(kind, ident, classes, keyvals, code, format_): subprocess.check_call(argv) sys.stderr.write('Created image ' + dest + '\n') - return Para([Image([ident, [], keyvals], caption, [dest, typef])]) + return Para([Image([ident, [], keyvals], caption, ['/' + dest, typef])]) def combo(key, value, format_, _): |