git.iko.soy/typeable/pandoc
on master help sign in
Allow any char but ':' in names of field lists in RST reader
b981540Denis Laxalde
src/Text/Pandoc/Readers/RST.hs+1−1
@@ -151,7 +151,7 @@ rawFieldListItem :: String -> Parser [Char] ParserState (String, String)
151rawFieldListItem indent = try $ do
151rawFieldListItem indent = try $ do
152 string indent
152 string indent
153 char ':'
153 char ':'
154− name <- many1 $ alphaNum <|> spaceChar
154+ name <- many1 $ noneOf ":"
155 char ':'
155 char ':'
156 skipSpaces
156 skipSpaces
157 first <- manyTill anyChar newline
157 first <- manyTill anyChar newline