aboutsummaryrefslogtreecommitdiff
path: root/test/command/4420.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/4420.md')
-rw-r--r--test/command/4420.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/command/4420.md b/test/command/4420.md
new file mode 100644
index 000000000..3e7008935
--- /dev/null
+++ b/test/command/4420.md
@@ -0,0 +1,22 @@
+```
+% pandoc -f native -t rst
+[Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","")]
+^D
+|image|
+
+.. |image| image:: foo.png
+ :align: right
+ :width: 100px
+```
+
+```
+% pandoc -f native -t rst
+[Para [Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","fig:test")]]
+^D
+.. figure:: foo.png
+ :alt: test
+ :align: right
+ :width: 100px
+
+ image
+```