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
This commit is contained in:
parent
b46bedaf39
commit
1163e622ab
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue