From 4a574bd466350abf05b28b78130174fefbc64b4b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sun, 26 Jun 2022 12:13:14 -0400 Subject: [PATCH] Added unit test for issue #808 --- UnitTests/Text/HtmlToHtmlTests.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/UnitTests/Text/HtmlToHtmlTests.cs b/UnitTests/Text/HtmlToHtmlTests.cs index f0a18ac827..5f0222845e 100644 --- a/UnitTests/Text/HtmlToHtmlTests.cs +++ b/UnitTests/Text/HtmlToHtmlTests.cs @@ -218,5 +218,17 @@ public void TestTextHeaderFooter () Assert.AreEqual (expected, result); } + + [Test] + public void TestIssue808 () + { + const string input = "I'm on holiday until  June 17, 2022. "; + const string expected = "I'm on holiday until  June 17, 2022. "; + var converter = new HtmlToHtml (); + + var result = converter.Convert (input); + + Assert.AreEqual (expected, result); + } } }