From 51897937cd07a066df656451068ef56d13b4edc4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 13 Nov 2017 21:19:38 -0800 Subject: LaTeX reader: allow optional arguments on `\footnote`. Closes #4062. --- src/Text/Pandoc/Readers/LaTeX.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index f1fe6ff17..3bc59f262 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1337,8 +1337,8 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList $ , ("bar", lit "|") , ("textless", lit "<") , ("textgreater", lit ">") - , ("thanks", note <$> grouped block) - , ("footnote", note <$> grouped block) + , ("thanks", skipopts >> note <$> grouped block) + , ("footnote", skipopts >> note <$> grouped block) , ("verb", doverb) , ("lstinline", dolstinline) , ("Verb", doverb) -- cgit v1.2.3