Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Markdown.ToHtml throws IndexOutOfRangeException #276
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.