aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorclaremacrae <github@cfmacrae.fastmail.co.uk>2013-07-28 18:42:53 +0100
committerclaremacrae <github@cfmacrae.fastmail.co.uk>2013-07-28 18:42:53 +0100
commit51b8ce49f1c98f22987463cf891c8f20e4a9da54 (patch)
treee7f62af0a38fd1039e8e05e6f44b55d92465cadb /src/Text
parentb77d4456eaf871896ad7555607f968aa2ad9ad7c (diff)
downloadpandoc-51b8ce49f1c98f22987463cf891c8f20e4a9da54.tar.gz
Implemented linebreaks in dokuwiki writer (#386)
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/DokuWiki.hs2
1 files changed, 1 insertions, 1 deletions
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 "<br />"
+inlineToDokuWiki _ (LineBreak) = return "\\\\\n"
inlineToDokuWiki _ Space = return " "