RST reader: Require whitespace after field list field names.

This commit is contained in:
John MacFarlane
2012-09-30 14:57:55 -07:00
parent 946764ccf7
commit d9f628fd18
+1 -1
View File
@@ -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