diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2009-12-03 10:08:58 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2009-12-03 10:08:58 +1300 |
commit | a174caf1dd7d7a9f2a9386659146eb7220bade96 (patch) | |
tree | 1164ecfb214e300e4881adb0846ace9c1cd3b888 | |
parent | af075fd31f8b8b83a3aa76bf9d15fdc8ad03d7cf (diff) | |
download | asciidoc-a174caf1dd7d7a9f2a9386659146eb7220bade96.tar.gz |
FIXED: Regression issue with inline data-uri images. See
http://groups.google.com/group/asciidoc/browse_frm/thread/cb8b7694bbc82a6
-rw-r--r-- | xhtml11.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xhtml11.conf b/xhtml11.conf index 87c0f09..12c3790 100644 --- a/xhtml11.conf +++ b/xhtml11.conf @@ -79,7 +79,7 @@ latexmath-style=template="latexmathblock",subs=[] <a class="image" href="{link}">
{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} />
{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
-{data-uri#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
+{data-uri#}{sys3:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
{link#}</a>
</span>
|