Fix error when extension output is doc (#6834)
commitfec695c77aa77de89c7be205fb9c3a7271f57f12
authorgison93 <43569657+gison93@users.noreply.github.com>
dateFri 13 Nov 2020, 18:07 (6 years ago)
parent7f3afc3
src/Text/Pandoc/Error.hs+1−1
@@ -137,7 +137,7 @@ handleError (Left e) =
137137 " -t latex|beamer|context|ms|html5" <>
138138 "\nand specify an output file with " <>
139139 ".pdf extension (-o filename.pdf)."
140− "doc" -> "\nPandoc can convert to DOCX, but not from DOC."
140+ "doc" -> "\nPandoc can convert to DOCX, but not to DOC."
141141 _ -> ""
142142 PandocUnsupportedExtensionError ext f -> err 23 $
143143 "The extension " <> ext <> " is not supported " <>