diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-08 19:18:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-08 19:18:04 +0300 |
commit | aff257dad5b4df47e143d74873290d64c5516308 (patch) | |
tree | ede057317c80a675901836f241ff5192c2d6a5e7 | |
parent | 83647295704709282ceb853486506529ec417318 (diff) | |
download | fable-poc-aff257dad5b4df47e143d74873290d64c5516308.tar.gz |
Fix: use absolute path for generated images
-rwxr-xr-x | pandoc-fable-filter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-fable-filter b/pandoc-fable-filter index d0d0c73..86d7ab3 100755 --- a/pandoc-fable-filter +++ b/pandoc-fable-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_, _): |