diff options
-rw-r--r-- | src/Text/Pandoc/Readers/RST.hs | 2 | ||||
-rw-r--r-- | tests/rst-reader.rst | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index 9fb976903..af1789be7 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -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) diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst index 4d81ccb85..e8dee7e3f 100644 --- a/tests/rst-reader.rst +++ b/tests/rst-reader.rst @@ -279,7 +279,8 @@ Field Lists :address: 61 Main St. :city: *Nowhere*, MA, USA -:phone: 123-4567 +:phone: + 123-4567 HTML Blocks =========== |