aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Parsing.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Parsing.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs
index bf4519a4f..731375e38 100644
--- a/src/Text/Pandoc/Parsing.hs
+++ b/src/Text/Pandoc/Parsing.hs
@@ -48,7 +48,6 @@ module Text.Pandoc.Parsing ( (>>~),
uri,
withHorizDisplacement,
withRaw,
- nullBlock,
escaped,
characterReference,
updateLastStrPos,
@@ -418,11 +417,6 @@ withRaw parser = do
ls -> unlines (init ls) ++ take (c2 - 1) (last ls)
return (result, raw)
--- | Parses a character and returns 'Null' (so that the parser can move on
--- if it gets stuck).
-nullBlock :: Parser [Char] st Block
-nullBlock = anyChar >> return Null
-
-- | Parses backslash, then applies character parser.
escaped :: Parser [Char] st Char -- ^ Parser for character to escape
-> Parser [Char] st Char