diff options
author | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-19 08:09:52 +0100 |
---|---|---|
committer | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-19 08:09:52 +0100 |
commit | 883f119c871a9fce402ceace8492a3cef06c5e81 (patch) | |
tree | 244b519e36a497401d9fa24e77cdcb283adefd0b | |
parent | 288329044a63331658079aa9db57b46fe204b6b9 (diff) | |
download | pandoc-883f119c871a9fce402ceace8492a3cef06c5e81.tar.gz |
Removed unnecessary line-break after hard break in dokuwiki writer (#386)
-rw-r--r-- | src/Text/Pandoc/Writers/DokuWiki.hs | 2 | ||||
-rw-r--r-- | tests/writer.dokuwiki | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index ec22a5a82..523c4d180 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -431,7 +431,7 @@ inlineToDokuWiki _ (RawInline "mediawiki" str) = return str inlineToDokuWiki _ (RawInline "html" str) = return str inlineToDokuWiki _ (RawInline _ _) = return "" -inlineToDokuWiki _ (LineBreak) = return "\\\\\n" +inlineToDokuWiki _ (LineBreak) = return "\\\\ " inlineToDokuWiki _ Space = return " " diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 9855f30dd..4b9d459c8 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -36,8 +36,7 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Beca Here’s one with a bullet. * criminey. -There should be a hard line break\\ -here. +There should be a hard line break\\ here. ---- |