Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<summary> elements are not rendered #335

Open
sudoforge opened this issue Aug 10, 2024 · 0 comments
Open

<summary> elements are not rendered #335

sudoforge opened this issue Aug 10, 2024 · 0 comments

Comments

@sudoforge
Copy link

sudoforge commented Aug 10, 2024

Description

<summary> elements within a <details> tree are not rendered. This is mentioned in #140, but that seems to be much more focused on whitespace rendering, and I thought it would be useful to have this be in its own, more discoverable, more succinct issue.


Source Code

<details>
<summary>Some summary foo</summary>

Some content bar
</details>

With anything that renders HTML, you get:

Some summary foo

Some content bar


Expected behavior

  **Some summary foo**
  Some content bar

Actual behavior

With glamour (at least, with v0.6.0 used in glow v1.5.1), you get:

➜ glow z


  Some content bar


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant