diff --git a/src/Markdig.Tests/TestParser.cs b/src/Markdig.Tests/TestParser.cs index 0575a664..150e4c6b 100644 --- a/src/Markdig.Tests/TestParser.cs +++ b/src/Markdig.Tests/TestParser.cs @@ -78,7 +78,7 @@ namespace Markdig.Tests private static string Compact(string html) { // Normalize the output to make it compatible with CommonMark specs - html = html.Replace("\r", "").Trim(); + html = html.Replace("\r\n", "\n").Replace(@"\r", @"\n").Trim(); html = Regex.Replace(html, @"\s+", ""); html = Regex.Replace(html, @"