Skip to content

Commit

Permalink
Added unit test for issue #808
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Jun 26, 2022
1 parent db4f735 commit 4a574bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions UnitTests/Text/HtmlToHtmlTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,17 @@ public void TestTextHeaderFooter ()

Assert.AreEqual (expected, result);
}

[Test]
public void TestIssue808 ()
{
const string input = "<html><body>I'm on holiday until&nbsp; June 17, 2022.&#13;</body></html>";
const string expected = "<html><body>I'm on holiday until&nbsp; June 17, 2022.&#13;</body></html>";
var converter = new HtmlToHtml ();

var result = converter.Convert (input);

Assert.AreEqual (expected, result);
}
}
}

0 comments on commit 4a574bd

Please sign in to comment.