Skip to content

commonmark-java 0.26.0

Choose a tag to compare

@robinst robinst released this 13 Sep 00:42
· 22 commits to main since this release

Changed

  • A LinkProcessor using replaceWith now also stops outer links from being
    parsed as links, same as with wrapTextIn. This prevents nested links, see
    footnotes change below.

Fixed

  • Fix rendering of image alt text to include contents of code spans (`code`). (#398)
  • footnotes: Fix footnotes nested within links. Before, both the link and the
    footnote reference would be parsed and lead to nested <a> elements, which
    is disallowed. Now, only the footnote is parsed and the outer link becomes
    plain text; this matches the behavior of links. (#400)