From fd5994cc5ebe478eea133c0fd7c3705330c0e1ef Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Sat, 21 Apr 2018 12:36:44 +0800 Subject: Haddock Writer: Support Haddock tables See this PR on Haddock for details on the table format: https://github.com/haskell/haddock/pull/718 --- src/Text/Pandoc/Writers/Haddock.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/Haddock.hs b/src/Text/Pandoc/Writers/Haddock.hs index 925160602..687c76b17 100644 --- a/src/Text/Pandoc/Writers/Haddock.hs +++ b/src/Text/Pandoc/Writers/Haddock.hs @@ -124,7 +124,7 @@ blockToHaddock opts (Table _ blkCapt specs thead tbody tfoot) = do tbl <- gridTable opts blockListToHaddock (all null headers) (map (const AlignDefault) aligns) widths headers rows - return $ prefixed "> " (tbl $$ blankline $$ caption'') $$ blankline + return $ (tbl $$ blankline $$ caption'') $$ blankline blockToHaddock opts (BulletList items) = do contents <- mapM (bulletListItemToHaddock opts) items return $ (if isTightList items then vcat else vsep) contents <> blankline -- cgit v1.2.3