Skip to content

Commit

Permalink
test: verify issue 5174
Browse files Browse the repository at this point in the history
fixes #5174
  • Loading branch information
yufeih committed Nov 28, 2023
1 parent e6cc1ed commit 3fac473
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/docfx.Tests/DocsetBuildTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,15 @@ public static async Task Build_Toc_Gen_Name()
}
""", outputs["toc.json"]());
}

[Fact]
public static async Task Issue5174()
{
var outputs = await Build(new()
{
["index.md"] = "[link](On%25252Dcall-duties.md)",
["On%252Dcall-duties.md"] = "a",
});
Assert.NotEmpty(outputs["On%252Dcall-duties.html"]());
}
}

0 comments on commit 3fac473

Please sign in to comment.