summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/9388.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/9388.md b/test/command/9388.md
new file mode 100644
index 000000000..291e80d58
--- /dev/null
+++ b/test/command/9388.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f latex -t native
+\begin{figure}
+\centering
+\includegraphics[width=0.5\linewidth,height=0.5\textheight]{figures/placeholder}
+\caption{Example figure}
+\end{figure}
+^D
+[ Figure
+ ( "" , [] , [] )
+ (Caption
+ Nothing [ Plain [ Str "Example" , Space , Str "figure" ] ])
+ [ Plain
+ [ Image
+ ( "" , [] , [ ( "width" , "50%" ) , ( "height", "50%" ) ] )
+ []
+ ( "figures/placeholder" , "" )
+ ]
+ ]
+]
+```