Skip to content

2.2.0: Links in the sublist doesn't get rendered #4493

@bca111

Description

@bca111

Describe the bug
Links in the sublist doesn't get rendered in the IDE + generated documentation

Expected behaviour
Links in the sublist to be rendered as in Dokka 1.9.0 with K1

Links are rendered correctly in commonmark.js dingus here

Screenshots
Screenshot from the IDE, with comment regarding the behavior

Image

To Reproduce
Code block in the screenshot:

     /**
         * 1. *** Foo ***
         * 2. ** Bar **
         *
         *    (Required is lead by 4 spaces, proper sublist but links are not rendered)
         *    Required configuration properties:
         *    * [config1][Int]
         *    * [config2][Int]
         *
         *   (Required is lead by 3 spaces, renders everything in the same line, links rendered)
         *   Required configuration properties:
         *    * [config1][Int]
         *    * [config2][Int]
         *
         *
         *    (Bullet points led by 3 spaces, not rendered as a sublist but top level, links rendered)
         *    Required configuration properties:
         *   * [config1][Int]
         *   * [config2][Int]
         */
        fun foo(): Nothing = TODO()

Dokka configuration
2.2.0 with defaults (K2)

Installation

  • Operating system: macOS
  • Build tool: Maven
  • Dokka version: 2.2.0

Additional context
Links are rendered correctly in commonmark.js dingus here

Even when I remove the bullet points and put the link as Required configuration properties [str][String]with the correct indentation (stay within 2nd point), links are not rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked: parserDepends on fixes inside Lexer/Parser inside Kotlin Compiler Frontendbug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions