From 51b8ce49f1c98f22987463cf891c8f20e4a9da54 Mon Sep 17 00:00:00 2001 From: claremacrae Date: Sun, 28 Jul 2013 18:42:53 +0100 Subject: Implemented linebreaks in dokuwiki writer (#386) --- src/Text/Pandoc/Writers/DokuWiki.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index 3344b146f..6946f7722 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -413,7 +413,7 @@ inlineToDokuWiki _ (RawInline "mediawiki" str) = return str inlineToDokuWiki _ (RawInline "html" str) = return str inlineToDokuWiki _ (RawInline _ _) = return "" -inlineToDokuWiki _ (LineBreak) = return "
" +inlineToDokuWiki _ (LineBreak) = return "\\\\\n" inlineToDokuWiki _ Space = return " " -- cgit v1.2.3