diff options
author | Denis Laxalde <denis@laxalde.org> | 2012-08-29 18:54:57 +0200 |
---|---|---|
committer | Denis Laxalde <denis@laxalde.org> | 2012-08-29 20:47:49 +0200 |
commit | cdefeb9445afc7e8ea42e9ff0fdc69cfc8060c1d (patch) | |
tree | 9b2fad1281e991960e54f813a8078d2b146751c8 /src/Text | |
parent | b21363f1d533481a8d94813be2626ec9d8d27401 (diff) | |
download | pandoc-cdefeb9445afc7e8ea42e9ff0fdc69cfc8060c1d.tar.gz |
Fix RST reader for field lists items with body beginning after a new line
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/RST.hs | 2 |
1 files changed, 1 insertions, 1 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) |