mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 16:56:43 +00:00
It is a child of `inlinemediaobject`, not `imageobject`. Add regression tests for #8437. Closes #8437.
1.4 KiB
1.4 KiB
% pandoc -f markdown -t asciidoctor
[](http://www.apache.org/licenses/LICENSE-2.0)
^D
http://www.apache.org/licenses/LICENSE-2.0[image:https://img.shields.io/badge/License-Apache%202.0-blue.svg[alt,title="title"]]
% pandoc -f markdown -t docbook
[](http://www.apache.org/licenses/LICENSE-2.0)
^D
<para>
<link xlink:href="http://www.apache.org/licenses/LICENSE-2.0"><inlinemediaobject>
<imageobject>
<objectinfo>
<title>title</title>
</objectinfo>
<imagedata fileref="https://img.shields.io/badge/License-Apache%202.0-blue.svg" />
</imageobject>
<textobject>
<phrase>alt</phrase>
</textobject>
</inlinemediaobject></link>
</para>
% pandoc -f docbook -t markdown
<para>
<link xlink:href="http://www.apache.org/licenses/LICENSE-2.0"><inlinemediaobject>
<imageobject>
<objectinfo>
<title>title</title>
</objectinfo>
<imagedata fileref="https://img.shields.io/badge/License-Apache%202.0-blue.svg" />
</imageobject>
<textobject>
<phrase>alt</phrase>
</textobject>
</inlinemediaobject></link>
</para>
^D
[](http://www.apache.org/licenses/LICENSE-2.0)