Parse space at beginning of list
This commit is contained in:
@@ -420,7 +420,7 @@ parseUnorderedList = do
|
|||||||
-- --------
|
-- --------
|
||||||
|
|
||||||
parseOListItem :: Parser MdToken
|
parseOListItem :: Parser MdToken
|
||||||
parseOListItem = try parseOListParaItem <|> parseOListLineItem
|
parseOListItem = space *> (try parseOListParaItem <|> parseOListLineItem)
|
||||||
|
|
||||||
-- Parses the first element of an ordered list, which must start with '1.'
|
-- Parses the first element of an ordered list, which must start with '1.'
|
||||||
parseFirstOListItem :: Parser MdToken
|
parseFirstOListItem :: Parser MdToken
|
||||||
|
Reference in New Issue
Block a user