Bug fix
- Fix
MatchError: Paragraph(...)inDefinitionListBlockrendering. The
renderer was calling the publicrenderToHTML(node, config)on each
definition body, but that entry point only handlesDocumentand
threw aMatchErrorfor theParagraphevery parsed definition body
actually contains. Now goes throughrenderBlockToHTMLdirectly,
which handles allBlocksubtypes uniformly. Regression test added
inDefinitionListBlockParserTest.
Tests
- 995 / 995 passing across JVM / JS / Native, including all 652
CommonMark 0.31.2 spec tests.
Full changelog: v0.4.3...v0.4.4