RobertDober / earmark_parser

The Markdown to AST part of Earmark.
Apache License 2.0
68 stars 26 forks source link

Bad closing of code blocks does not issue an error message #23

Closed RobertDober closed 2 years ago

RobertDober commented 4 years ago

Example

iex(9)> EarmarkParser.as_ast("```\nhello\n````")
{:ok, [{"pre", [], [{"code", [], ["hello\n````"], %{}}], %{}}], []}