Skip to content

Commit

Permalink
Fix exception when trying to Urilize an url with an unicode character…
Browse files Browse the repository at this point in the history
… outside the supported range by string.Normalize + NormD (issue xoofx#75)
  • Loading branch information
xoofx committed Nov 26, 2016
1 parent a8fbe79 commit 5ca4e31
Show file tree
Hide file tree
Showing 8 changed files with 1,545 additions and 39 deletions.
1 change: 1 addition & 0 deletions src/Markdig.Tests/TestLinkHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ public void TestUrilizeNonAscii_Simple(string input, string expectedResult)
[TestCase("b>r", "br")]
[TestCase(@"b\r", "br")]
[TestCase(@"b""r", "br")]
[TestCase(@"Requirement 😀", "requirement")]
public void TestUrilizeNonAscii_NonValidCharactersForFragments(string input, string expectedResult)
{
Assert.AreEqual(expectedResult, LinkHelper.Urilize(input, false));
Expand Down
Loading

0 comments on commit 5ca4e31

Please sign in to comment.