git.iko.soy/typeable/pandoc
on master help sign in
RST reader: Removed unnecessary check for following link in str.
e4837c1fiddlosopher
Text/Pandoc/Readers/RST.hs+1−2
@@ -534,8 +534,7 @@ subscript = interpreted "sub" >>= (return . Subscript)
534
534
535whitespace = many1 spaceChar >> return Space <?> "whitespace"
535whitespace = many1 spaceChar >> return Space <?> "whitespace"
536
536
537−str = notFollowedBy' oneWordReference >>
538− many1 (noneOf (specialChars ++ "\t\n ")) >>= return . Str
537+str = many1 (noneOf (specialChars ++ "\t\n ")) >>= return . Str
539
538
540-- an endline character that can be treated as a space, not a structural break
539-- an endline character that can be treated as a space, not a structural break
541endline = try $ do
540endline = try $ do