diff --git a/Core-Tests/FormatterTests.cs b/Core-Tests/FormatterTests.cs index f7c492b..cc030c2 100644 --- a/Core-Tests/FormatterTests.cs +++ b/Core-Tests/FormatterTests.cs @@ -93,8 +93,8 @@ second line@@ private const string ExpectedOutput = @"bold italic underlined striked -page1 title

* item 1
-* item 2
+page1 title

* item 1
+* item 2
 second line

cellother cell
"; diff --git a/Core/Formatter.cs b/Core/Formatter.cs index 91e1c61..976a518 100644 --- a/Core/Formatter.cs +++ b/Core/Formatter.cs @@ -164,10 +164,10 @@ namespace ScrewTurn.Wiki { sb.Remove(match.Index, match.Length); string content = match.Value.Substring(2, match.Length - 4); dummy = new StringBuilder(); - dummy.Append("
");
+					dummy.Append("
");
 					// IE needs \r\n for line breaks
 					dummy.Append(EscapeWikiMarkup(content).Replace("\n", "\r\n"));
-					dummy.Append("
"); + dummy.Append("
"); sb.Insert(match.Index, dummy.ToString()); } ComputeNoWiki(sb.ToString(), ref noWikiBegin, ref noWikiEnd);