Fix RST reader for field lists items with body beginning after a new line

This commit is contained in:
Denis Laxalde
2012-08-29 20:47:49 +02:00
parent b21363f1d5
commit cdefeb9445
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ rawFieldListItem indent = try $ do
string indent
char ':'
name <- many1 $ alphaNum <|> spaceChar
string ": "
char ':'
skipSpaces
first <- manyTill anyChar newline
rest <- option "" $ try $ do lookAhead (string indent >> spaceChar)
+2 -1
View File
@@ -279,7 +279,8 @@ Field Lists
:address: 61 Main St.
:city: *Nowhere*, MA,
USA
:phone: 123-4567
:phone:
123-4567
HTML Blocks
===========