RST reader: Allow spaces in field list names.

This commit is contained in:
John MacFarlane 2011-01-24 22:13:57 -08:00
parent 932fc12840
commit e66cc6728c

View file

@ -146,7 +146,7 @@ fieldListItem :: String -> GenParser Char st ([Char], [Char])
fieldListItem indent = try $ do
string indent
char ':'
name <- many1 alphaNum
name <- many1 $ alphaNum <|> spaceChar
string ": "
skipSpaces
first <- manyTill anyChar newline