summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-13 21:19:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-13 21:19:38 -0800
commit51897937cd07a066df656451068ef56d13b4edc4 (patch)
tree4da88dfbf80fa9458702e4b06022f776f321e3b1 /src/Text/Pandoc/Readers/LaTeX.hs
parent8d6e0e516a0b9d36992b2802e23dbcc6162c7346 (diff)
LaTeX reader: allow optional arguments on `\footnote`.
Closes #4062.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs4
1 files changed, 2 insertions, 2 deletions
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)