diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-11-13 18:43:46 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-11-13 18:44:56 +0300 |
commit | 40796972812fe7a29d04eb430bee704383736221 (patch) | |
tree | a2cfd3cb3a9891a768b6c651f57333f6f5c5ac77 /src/Text | |
parent | 4a950feb8e6ff0f557af5c686d860dc70ca01f42 (diff) | |
download | pandoc-40796972812fe7a29d04eb430bee704383736221.tar.gz |
Muse writer: output tables with one column as grid tables
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/Muse.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Muse.hs b/src/Text/Pandoc/Writers/Muse.hs index 2001c56fd..1d7a3fd77 100644 --- a/src/Text/Pandoc/Writers/Muse.hs +++ b/src/Text/Pandoc/Writers/Muse.hs @@ -281,7 +281,7 @@ blockToMuse (Header level (ident,_,_) inlines) = do -- https://www.gnu.org/software/emacs-muse/manual/muse.html#Horizontal-Rules-and-Anchors blockToMuse HorizontalRule = return $ blankline $$ "----" $$ blankline blockToMuse (Table caption aligns widths headers rows) = - if all (== 0.0) widths + if all (== 0.0) widths && length widths > 1 then simpleTable caption headers rows else do opts <- asks envOptions |