aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 1e3a1ac6c..4ac5bad80 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -359,14 +359,14 @@ bulletListStart = try (do
spaceChar
skipSpaces)
-standardOrderedListStart = do
+standardOrderedListStart = try (do
many1 digit
- char '.'
+ char '.')
-extendedOrderedListStart = do
+extendedOrderedListStart = try (do
failIfStrict
oneOf ['a'..'n']
- oneOf ".)"
+ oneOf ".)")
orderedListStart = try $ do
option ' ' newline -- if preceded by a Plain block in a list context