Markdown.ToHtml throws IndexOutOfRangeException
Metalnem opened this issue · comments
Nemanja Mijailovic commented
Markdown.ToHtml throws an IndexOutOfRangeException when converting the markdown file from the attached archive. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):
var text = File.ReadAllText(path);
var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build();
Markdown.ToHtml(text, pipeline);
Found via SharpFuzz.