From a20323033ee0a718fc18ec2db00c913369944e29 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 May 2019 16:56:37 -0700 Subject: Fix footnote in image caption. Regression! The fix for #4683 broke this case. --- test/command/5476.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/command/5476.md (limited to 'test/command/5476.md') diff --git a/test/command/5476.md b/test/command/5476.md new file mode 100644 index 000000000..6e744f5ec --- /dev/null +++ b/test/command/5476.md @@ -0,0 +1,12 @@ +``` +% pandoc -t latex +![moon^[the moon]](test/lalune.jpg) +^D +\begin{figure} +\centering +\includegraphics{test/lalune.jpg} +\caption[moon]{moon\footnotemark{}} +\end{figure} +\footnotetext{the moon} +``` + -- cgit v1.2.3