diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-26 03:17:40 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-26 03:17:40 +0000 |
commit | 1163e622ab80e471d9f60d0b42b92ffce033ba62 (patch) | |
tree | b1dbc002e7c55911a43cd71d755b9025a2129135 /src/Text/Pandoc | |
parent | b46bedaf395277a9d98f7b4a90a15cfa0ee5cb2b (diff) | |
download | pandoc-1163e622ab80e471d9f60d0b42b92ffce033ba62.tar.gz |
Don't count
p. 27
at the beginning of a line as an ordered list start, since
it's most likely a page number.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@900 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index b4302e6e4..ed447e9c6 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -315,6 +315,7 @@ bulletListStart = try $ do anyOrderedListStart = try $ do optional newline -- if preceded by a Plain block in a list context nonindentSpaces + notFollowedBy $ string "p." >> spaceChar >> digit -- page number state <- getState if stateStrict state then do many1 digit |