Remove newline after <br/> in translation of LineBreak

There's no particular need for a newline (other than making the
generated MediaWiki source look nice to a human), and in fact
sometimes it is incorrect: in particular, inside an enumeration, list
items cannot have embedded newline characters.
This commit is contained in:
Brent Yorgey
2012-10-04 11:16:54 -04:00
parent 3f86127f5a
commit c85d184668
+1 -1
View File
@@ -371,7 +371,7 @@ inlineToMediaWiki _ (RawInline "mediawiki" str) = return str
inlineToMediaWiki _ (RawInline "html" str) = return str
inlineToMediaWiki _ (RawInline _ _) = return ""
inlineToMediaWiki _ (LineBreak) = return "<br />\n"
inlineToMediaWiki _ (LineBreak) = return "<br />"
inlineToMediaWiki _ Space = return " "