summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xhtml11.conf2
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>