Closed nanis closed 8 years ago
Your patch is correct, but it breaks with older versions of libcmark. I think it's related to this commit: https://github.com/jgm/cmark/commit/e384149e683fd6ea950ba9318525563175ca9f47
Let me think about a way to fix the test for both old and new versions.
Nicely done.
FWIW, I just released version 0.240100 containing the fix. (Might take some time until CPAN picks it up.)
I tried to install CommonMark-0.230002 from CPAN using cmark 4e9abf79.
nmake test
failed with:Clearly, the expected HTML does not include the
class="language-perl"
attribute which is set in the test code on line 50: