Implemented linebreaks in dokuwiki writer (#386)

This commit is contained in:
claremacrae 2013-07-28 18:42:53 +01:00
parent b77d4456ea
commit 51b8ce49f1
2 changed files with 3 additions and 2 deletions

View file

@ -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 " "

View file

@ -36,7 +36,8 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Beca
Heres one with a bullet. * criminey.
There should be a hard line break<br />here.
There should be a hard line break\\
here.
----