git.iko.soy/typeable/pandoc
on master help sign in
Fix error when extension output is doc (#6834)
fec695cgison93
src/Text/Pandoc/Error.hs+1−1
@@ -137,7 +137,7 @@ handleError (Left e) =
137 " -t latex|beamer|context|ms|html5" <>
137 " -t latex|beamer|context|ms|html5" <>
138 "\nand specify an output file with " <>
138 "\nand specify an output file with " <>
139 ".pdf extension (-o filename.pdf)."
139 ".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."
141 _ -> ""
141 _ -> ""
142 PandocUnsupportedExtensionError ext f -> err 23 $
142 PandocUnsupportedExtensionError ext f -> err 23 $
143 "The extension " <> ext <> " is not supported " <>
143 "The extension " <> ext <> " is not supported " <>