Closed andrewalker closed 4 years ago
This is definitely a bug, but I'd note that fenced code blocks aren't supported by the standard dialect. Even if the parser didn't error out, you wouldn't get the output you wanted. You need to use the dialects
parameter:
Markdent::Simple::Fragment->new->markdown_to_html(markdown => "```\n\tfoo\n```", dialects => 'GitHub');
Thanks for the report. This is fixed in 0.38.
I have a large amount of markdown, and I'm experimenting with Markdent to manage it. It crashes every time there is a tab inside code blocks.
One liner to reproduce: