aboutsummaryrefslogtreecommitdiff
path: root/test/writer.rst
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-12 08:43:26 -0700
committerJohn MacFarlane <[email protected]>2023-07-12 09:13:32 -0700
commit29c5afb305c32129db4e81cd489cd3bd2a14c2e9 (patch)
treef374ef2ee808802dee471d0a218fdfbe91e6fded /test/writer.rst
parent21b51d214d10062fd3f128814832beb12d11e804 (diff)
RST writer: fix figure handling.
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.
Diffstat (limited to 'test/writer.rst')
-rw-r--r--test/writer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.rst b/test/writer.rst
index d4a0f7335..17fa7f419 100644
--- a/test/writer.rst
+++ b/test/writer.rst
@@ -784,7 +784,7 @@ Images
From “Voyage dans la Lune” by Georges Melies (1902):
.. figure:: lalune.jpg
- :alt: Voyage dans la Lune
+ :alt: lalune
lalune