Skip to content

details tag does not work as expected #1825

@abhangs

Description

@abhangs

Describe the bug

  1. Collapsible section with <details> tag does not work or not rendered as expected.
  2. Gollum does not show a collapsible section but instead it ignores the tag. I tried various iterations but could not get it to work.
  3. E.g. https://gist.github.com/joyrexus/16041f2426450e73f5df9391f7f7ae5f

To Reproduce
I put the following in one of my markdown files for testing purposes

<details>
    <summary>click here</summary>
    
1. this
1. should
    1. be
    1. a folded
    1. list

</details>

Expected behavior
The tag should be rendered as a collapsible section, just like on this Github website:

click here
  1. this
  2. should
    1. be
    2. a folded
    3. list

Screenshots

The input:
goll-2

How it is rendered:
goll-1

Environment Info

  1. Gollum 5.2.3
  2. commonmarker (0.23.4)
  3. github-markup (4.0.1, 3.0.5)
  4. gollum-lib (5.1.3)
  5. gollum-rugged_adapter (1.1.2)
  6. kramdown (2.4.0)
  7. kramdown-parser-gfm (1.1.0)

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