diff options
author | Denis Laxalde <denis@laxalde.org> | 2012-08-29 20:35:19 +0200 |
---|---|---|
committer | Denis Laxalde <denis@laxalde.org> | 2012-08-29 20:48:33 +0200 |
commit | b981540f2eee0a43acca7e446e24f76148d528b7 (patch) | |
tree | 20712ff1a159a3c30f85732d4b25b354102e810d /src | |
parent | cdefeb9445afc7e8ea42e9ff0fdc69cfc8060c1d (diff) | |
download | pandoc-b981540f2eee0a43acca7e446e24f76148d528b7.tar.gz |
Allow any char but ':' in names of field lists in RST reader
Diffstat (limited to 'src')
-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 af1789be7..a26b1623d 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -151,7 +151,7 @@ rawFieldListItem :: String -> Parser [Char] ParserState (String, String) rawFieldListItem indent = try $ do string indent char ':' - name <- many1 $ alphaNum <|> spaceChar + name <- many1 $ noneOf ":" char ':' skipSpaces first <- manyTill anyChar newline |