@@ -155,7 +155,7 @@ rawFieldListItem indent = try $ do
155155 char ':'
156156 name <- many1Till (noneOf "\n") (char ':')
157157 (() <$ lookAhead newline) <|> skipMany1 spaceChar
158− first <- manyTill anyChar newline
158+ first <- anyLine
159159 rest <- option "" $ try $ do lookAhead (string indent >> spaceChar)
160160 indentedBlock
161161 let raw = (if null first then "" else (first ++ "\n")) ++ rest ++ "\n"
@@ -302,7 +302,7 @@ hrule = try $ do
302302indentedLine :: String -> Parser [Char] st [Char]
303303indentedLine indents = try $ do
304304 string indents
305− manyTill anyChar newline
305+ anyLine
306306
307307-- one or more indented lines, possibly separated by blank lines.
308308-- any amount of indentation will work.
@@ -339,7 +339,7 @@ lhsCodeBlock = try $ do
339339 $ intercalate "\n" lns'
340340
341341birdTrackLine :: Parser [Char] st [Char]
342−birdTrackLine = char '>' >> manyTill anyChar newline
342+birdTrackLine = char '>' >> anyLine
343343
344344--
345345-- block quotes
@@ -394,7 +394,7 @@ listLine :: Int -> RSTParser [Char]
394394listLine markerLength = try $ do
395395 notFollowedBy blankline
396396 indentWith markerLength
397− line <- manyTill anyChar newline
397+ line <- anyLine
398398 return $ line ++ "\n"
399399
400400-- indent by specified number of spaces (or equiv. tabs)
@@ -411,7 +411,7 @@ rawListItem :: RSTParser Int
411411 -> RSTParser (Int, [Char])
412412rawListItem start = try $ do
413413 markerLength <- start
414− firstLine <- manyTill anyChar newline
414+ firstLine <- anyLine
415415 restLines <- many (listLine markerLength)
416416 return (markerLength, (firstLine ++ "\n" ++ (concat restLines)))
417417