mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
29c5afb305
This fixes a number of regressions from pandoc 2.x. Properly handle caption, alt attribute in figures. No longer treat a paragraph with a single image in it as a figure (we have a dedicated Figure element now). Closes #8930, closes #8871.
183 B
183 B
% pandoc -f native -t rst
[Para [Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","fig:test")]]
^D
|image|
.. |image| image:: foo.png
:width: 100px