From fa912bb15e3ceac863fb8d46ee6f137da34eb634 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Sat, 20 Jan 2018 09:48:47 -0500 Subject: Docx reader: Use already imported operator This fixes an import error in the last commit. --- src/Text/Pandoc/Readers/Docx/Fields.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/Docx/Fields.hs b/src/Text/Pandoc/Readers/Docx/Fields.hs index aef10ffcf..6eeb55d2f 100644 --- a/src/Text/Pandoc/Readers/Docx/Fields.hs +++ b/src/Text/Pandoc/Readers/Docx/Fields.hs @@ -63,7 +63,7 @@ quotedString = do concat <$> manyTill inQuotes (try (char '"')) unquotedString :: Parser String -unquotedString = manyTill anyChar (try $ lookAhead space $> () <|> eof) +unquotedString = manyTill anyChar (try $ lookAhead space *> return () <|> eof) fieldArgument :: Parser String fieldArgument = quotedString <|> unquotedString -- cgit v1.2.3