diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-26 08:50:29 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-26 08:50:29 -0700 |
commit | dc572e8a250e7561e39286fda94d7c315f6331a0 (patch) | |
tree | 7b6431912dc248845aa437c71af27cc1d001d128 | |
parent | 1847335b1dbb2ec92e0accabbf340979db3e7697 (diff) | |
download | pandoc-dc572e8a250e7561e39286fda94d7c315f6331a0.tar.gz |
Always preserve tabs for man format.
We need it for tables.
-rw-r--r-- | src/Text/Pandoc/App.hs | 4 |
1 files changed, 3 insertions, 1 deletions
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) |