From dc572e8a250e7561e39286fda94d7c315f6331a0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 26 Oct 2018 08:50:29 -0700 Subject: Always preserve tabs for man format. We need it for tables. --- src/Text/Pandoc/App.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs index 9c830c85c..2fb7c92db 100644 --- a/src/Text/Pandoc/App.hs +++ b/src/Text/Pandoc/App.hs @@ -287,7 +287,9 @@ convertWithOpts opts = do "Specify an output file using the -o option, or " ++ "use '-o -' to force output to stdout." - let convertTabs = tabFilter (if optPreserveTabs opts || readerName == "t2t" + let convertTabs = tabFilter (if optPreserveTabs opts || + readerName == "t2t" || + readerName == "man" then 0 else optTabStop opts) -- cgit v1.2.3