summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/RST.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs
index 6f5633e59..1efaa9231 100644
--- a/src/Text/Pandoc/Readers/RST.hs
+++ b/src/Text/Pandoc/Readers/RST.hs
@@ -469,7 +469,6 @@ bulletList = B.bulletList . compactify' <$> many1 (listItem bulletListStart)
comment :: RSTParser Blocks
comment = try $ do
- getPosition >>= guard . (==1) . sourceColumn
string ".."
skipMany1 spaceChar <|> (() <$ lookAhead newline)
notFollowedBy' directiveLabel
@@ -483,7 +482,6 @@ directiveLabel = map toLower
directive :: RSTParser Blocks
directive = try $ do
- getPosition >>= guard . (==1) . sourceColumn
string ".."
directive'
@@ -712,7 +710,6 @@ targetURI = do
substKey :: RSTParser ()
substKey = try $ do
- getPosition >>= guard . (==1) . sourceColumn
string ".."
skipMany1 spaceChar
(alt,ref) <- withRaw $ trimInlines . mconcat