aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 911105045..847c20706 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -462,7 +462,8 @@ rawLines = do
noteBlock :: PandocMonad m => MarkdownParser m (F Blocks)
noteBlock = do
guardEnabled Ext_footnotes
- do pos <- getPosition
+ try $ do
+ pos <- getPosition
skipNonindentSpaces
ref <- noteMarker
char ':'