mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
94975a4e3c
- Turn captioned images into Figure elements. Closes #9391. - Improve the logic for associating elements with captions. Closes #9358. - Ensure that captions that can't be associated with an element aren't just silently dropped. Closes #9610.
202 B
202 B
% pandoc command/9391.docx -t html
^D
<p>Lorem ipsum.</p>
<figure>
<img src="media/image1.png" style="width:1.10263in;height:1.10263in" />
<figcaption><p>Blue square.</p></figcaption>
</figure>