RST reader: Removed unnecessary check for following link in str.
This is unnecessary now that link is above str in the definition of 'inline'. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1173 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
d271473044
commit
e4837c140c
1 changed files with 1 additions and 2 deletions
|
@ -534,8 +534,7 @@ subscript = interpreted "sub" >>= (return . Subscript)
|
|||
|
||||
whitespace = many1 spaceChar >> return Space <?> "whitespace"
|
||||
|
||||
str = notFollowedBy' oneWordReference >>
|
||||
many1 (noneOf (specialChars ++ "\t\n ")) >>= return . Str
|
||||
str = many1 (noneOf (specialChars ++ "\t\n ")) >>= return . Str
|
||||
|
||||
-- an endline character that can be treated as a space, not a structural break
|
||||
endline = try $ do
|
||||
|
|
Loading…
Add table
Reference in a new issue