RST reader: Allow spaces in field list names.
This commit is contained in:
parent
932fc12840
commit
e66cc6728c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue