diff --git a/csharp/DiffMatchPatch.cs b/csharp/DiffMatchPatch.cs index 6e196418..67247b31 100644 --- a/csharp/DiffMatchPatch.cs +++ b/csharp/DiffMatchPatch.cs @@ -1338,7 +1338,7 @@ public string diff_prettyHtml(List diffs) { StringBuilder html = new StringBuilder(); foreach (Diff aDiff in diffs) { string text = aDiff.text.Replace("&", "&").Replace("<", "<") - .Replace(">", ">").Replace("\n", "¶
"); + .Replace(">", ">").Replace("\n", "¶
").Replace("\t", " ").Replace(" ", " ");; switch (aDiff.operation) { case Operation.INSERT: html.Append("").Append(text)