[Bug] `<details>` content is not padded beneath its `<summary>`.
Errata (Examples)
This is paragraph 1. This is paragraph 1.
This is paragraph 2. This is paragraph 2.
<details open> <!-- the padding issue solely appears when it's open, but irrespective of whether this is determined programmatically or not -->
This is paragraph 3. This is paragraph 3.
This is paragraph 4. This is paragraph 4.
</details>
renders as
-
Browser
This is paragraph 1. This is paragraph 1.
This is paragraph 2. This is paragraph 2.
This is paragraph 3. This is paragraph 3.
This is paragraph 4. This is paragraph 4.
-
Screenshot
Evidently, the padding is inconsistent.
Affected
Stale issue message
https://github.com/github/markup/issues/1811#issuecomment-2283802454
@GitHub-Actions, what does that mean?
Stale issue message
https://github.com/github/markup/issues/1811#issuecomment-2408953696
https://github.com/github/markup/issues/1811#issuecomment-2283818005
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
https://github.com/github/markup/issues/1811#issuecomment-2660892255
@github-actions, it's not.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
https://github.com/github/markup/issues/1811#issuecomment-2812668398
Incorrect.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As before. See https://github.com/github/markup/issues/1811#issuecomment-2812711041.
I've since ascertained that <p></p><details><p></p> and <p></p></details><p></p> remediate this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As before. See https://github.com/github/markup/issues/1811#issuecomment-2812711041.