From 072757916754a11cc7837d343c5c63ee1585a35b Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Tue, 1 Jul 2014 21:21:09 +0100 Subject: Improved HTML Blocks in DokuWiki output (#386) For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules. --- src/Text/Pandoc/Writers/DokuWiki.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index ce8efb281..ad68425ff 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -126,7 +126,7 @@ blockToDokuWiki opts (Para inlines) = do blockToDokuWiki _ (RawBlock f str) | f == Format "mediawiki" = return str - | f == Format "html" = return str + | f == Format "html" = return $ "\n" ++ str ++ "" | otherwise = return "" blockToDokuWiki _ HorizontalRule = return "\n----\n" -- cgit v1.2.3