Closed dominicletz closed 4 months ago
Maybe the best way to put it:
There is no relationship anymore. They have been severed, Earmark
is responsible for its own parser now.
That said this is a serious bug which needs to be fixed in both projects I will report it to Earmark
as well.
I just released v1.4.41 which contains the fix
Using the EarmarkParser on the invalid md string
"\\[{:}"
causes a crash rather than returning an error. This is an issue for my use case where I'm using md-files to take notes and sometimes these notes contain ughly strings such as partial code fragments, backtraces and such. When finding that the parser would crash on one of my files I was able to reduce it to this minimal string causing the crash.I don't understand the relationship between Earmark and EarmarkParser, so I've reported this issue there too: https://github.com/pragdave/earmark/issues/494