Skip to content

Quotes are rendered as code blocks instead of blockquotes #2491

@TheOnlyTails

Description

@TheOnlyTails

Describe the bug
When I use quotes in KDocs, as such:

/** 
* > quote
*/

And render it with Dokka (HTML format), the quotes are rendered as code blocks (<code> elements with syntax highlighting).

Expected behaviour
The quotes should be rendered as such, using the <blockquote> element.

Screenshots
image
image

To Reproduce

  1. Add KDocs to a function in your code, and include a quote (> ) in them.
  2. Render the docs using Dokka in the HTML format.
  3. The docs should show a syntax-highlighted code block instead of a blockquote.

Dokka configuration
Configuration of dokka used to reproduce the bug

plugins {
  id("org.jetbrains.dokka") version "latest.release"
}

tasks.dokkaHtml.configure {
    outputDirectory.set(projectDir.resolve("docs"))
}

Installation

  • Operating system: Linux
  • Build tool: Gradle v7.4.2
  • Dokka version: latest (according to gradle's latest.release version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueA beginner-friendly issue for which some assistance is expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions