aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Roff.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-04 10:55:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-04 10:55:56 -0700
commite7b8728ad2f4afd588a1105352d2b5feae044eee (patch)
tree7fe0fb38c61f78843d4efb77f83ec1070e8f9d33 /src/Text/Pandoc/Readers/Roff.hs
parent4967fd42086b2680d4f9be864b1b0c14e35570ce (diff)
downloadpandoc-e7b8728ad2f4afd588a1105352d2b5feae044eee.tar.gz
Roff reader: Fix problem parsing comments before macro.
Diffstat (limited to 'src/Text/Pandoc/Readers/Roff.hs')
-rw-r--r--src/Text/Pandoc/Readers/Roff.hs2
1 files changed, 0 insertions, 2 deletions
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