Skip to content

Markdown instead <details> tag not rendered correctly #655

@kohanyirobert

Description

@kohanyirobert

I have this in my Markdown file (I'm using Docsify version 4.7.1.)

<details><summary>Self-assessment (Click to expand)</summary>
* Abc
* Abc
</details>

This gets rendered into

<details open=""><summary>Self-assessment (Click to expand)</summary>
<em> Abc
</em> Abc
</details>

The expandable part is rendered correctly in Chrome (latest version). I can click on the little arrow, it gets expanded/collapsed correctly, the summary is okay too. But, the list is not rendered as a list. It rendered like as if I wanted something like this

*Item 1* Item 2

meaning this

Item1 Item 2

I could of course use ul and li elements, but that would default the purpose. A surrounding details tag is not big of a deal tho', I can live with that.

Is this a bug, or this shouldn't even work? Any workarounds? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions