summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-09-12 12:15:57 +0300
committerLars Wirzenius <liw@liw.fi>2019-09-12 12:15:57 +0300
commit54040bf60eb9da01676b345b0bdccfe736bec9a2 (patch)
tree29154b6b1692686faccfbbeb1b94798004fd43b8
parent6b309fa3b7bbc4db01fafea2e1f5b991cc4578dd (diff)
downloadsubplot.liw.fi-54040bf60eb9da01676b345b0bdccfe736bec9a2.tar.gz
Change: pandoc-filter to use absolute paths for ikiwiki images
-rwxr-xr-xpandoc-filter2
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_, _):