asciidoctor-mathematical
asciidoctor-mathematical copied to clipboard
imagesoutdir gets accidentaly formated
imagesoutdir
somehow gets accidentaly formated in some cases.
E.g. when I introduce _
in the path, and also after some math in the document.
Repro:
Blah latexmath:[a = b] _x_ blah.
processed with:
asciidoctor -b html5 -r asciidoctor-mathematical -a stem=latexmath \
-a mathematical-format=svg -a imagesoutdir=$PWD/_eq imgoutdir.adoc
produces:
<img src="whatever/<em>eq/stem-e62d239822831122dd571c0d362408f7.svg"
Where the <em>
that replaced _
breaks things. I think the path should be taken verbatim. Or am I supposed to decorate the attribute somehow so replacements are not done on it? Though pass:[]
or +++
seems to break things even more.
Tested with asciidoctor (1.5.7.1)
and asciidoctor-mathematical (0.2.2)
and other dependencies are current versions of whatever the ruby-gems provides.
I will look into this issue.
Any news?