From e7b8728ad2f4afd588a1105352d2b5feae044eee Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 4 Sep 2019 10:55:56 -0700 Subject: Roff reader: Fix problem parsing comments before macro. --- src/Text/Pandoc/Readers/Roff.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Text/Pandoc/Readers/Roff.hs') diff --git a/src/Text/Pandoc/Readers/Roff.hs b/src/Text/Pandoc/Readers/Roff.hs index 078413674..4c7b8499f 100644 --- a/src/Text/Pandoc/Readers/Roff.hs +++ b/src/Text/Pandoc/Readers/Roff.hs @@ -42,7 +42,6 @@ import Text.Pandoc.Options import Text.Pandoc.Parsing import Text.Pandoc.Shared (safeRead, substitute) import Text.Parsec hiding (tokenPrim) -import qualified Text.Parsec as Parsec import Text.Pandoc.RoffChar (characterCodes, combiningAccents) import qualified Data.Sequence as Seq import qualified Data.Foldable as Foldable @@ -335,7 +334,6 @@ escFont = do lexComment :: PandocMonad m => RoffLexer m RoffTokens lexComment = do try $ string ".\\\"" - many Parsec.space skipMany $ noneOf "\n" eofline return mempty -- cgit v1.2.3