mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-25 00:45:47 +00:00
RST reader: Require whitespace after field list field names.
This commit is contained in:
@@ -155,7 +155,7 @@ rawFieldListItem indent = try $ do
|
||||
string indent
|
||||
char ':'
|
||||
name <- many1Till (noneOf "\n") (char ':')
|
||||
skipSpaces
|
||||
(() <$ lookAhead newline) <|> skipMany1 spaceChar
|
||||
first <- manyTill anyChar newline
|
||||
rest <- option "" $ try $ do lookAhead (string indent >> spaceChar)
|
||||
indentedBlock
|
||||
|
||||
Reference in New Issue
Block a user