From e4837c140cee18779eb5cc3c47983644b92eec7a Mon Sep 17 00:00:00 2001
From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
Date: Sun, 6 Jan 2008 19:46:38 +0000
Subject: [PATCH] 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
---
 Text/Pandoc/Readers/RST.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Text/Pandoc/Readers/RST.hs b/Text/Pandoc/Readers/RST.hs
index ad3467d84..004c44d6b 100644
--- a/Text/Pandoc/Readers/RST.hs
+++ b/Text/Pandoc/Readers/RST.hs
@@ -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