diff options
author | gison93 <43569657+gison93@users.noreply.github.com> | 2020-11-13 18:07:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 09:07:31 -0800 |
commit | fec695c77aa77de89c7be205fb9c3a7271f57f12 (patch) | |
tree | f03c228a5d8891e7add97a75bf902a0dcc00a5ee /src | |
parent | 7f3afc3157c7c93db43192e80e240e5f0ae0fd15 (diff) | |
download | pandoc-fec695c77aa77de89c7be205fb9c3a7271f57f12.tar.gz |
Fix error when extension output is doc (#6834)
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Error.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 " <> |