From fec695c77aa77de89c7be205fb9c3a7271f57f12 Mon Sep 17 00:00:00 2001 From: gison93 <43569657+gison93@users.noreply.github.com> Date: Fri, 13 Nov 2020 18:07:31 +0100 Subject: Fix error when extension output is doc (#6834) --- src/Text/Pandoc/Error.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs index 93028ccca..2c311bb49 100644 --- a/src/Text/Pandoc/Error.hs +++ b/src/Text/Pandoc/Error.hs @@ -137,7 +137,7 @@ handleError (Left e) = " -t latex|beamer|context|ms|html5" <> "\nand specify an output file with " <> ".pdf extension (-o filename.pdf)." - "doc" -> "\nPandoc can convert to DOCX, but not from DOC." + "doc" -> "\nPandoc can convert to DOCX, but not to DOC." _ -> "" PandocUnsupportedExtensionError ext f -> err 23 $ "The extension " <> ext <> " is not supported " <> -- cgit v1.2.3