Skip to content

fix: nested details tags in markdown bodies#6458

Merged
triphora merged 1 commit into
mainfrom
emma/fix-nested-details-tags
Jun 21, 2026
Merged

fix: nested details tags in markdown bodies#6458
triphora merged 1 commit into
mainfrom
emma/fix-nested-details-tags

Conversation

@triphora

Copy link
Copy Markdown
Member

Nearly 5 years ago, I reviewed a pull request that gave us much of the project description styling we know and love today.

However, for that entire time, something has plagued me deeply. Unopened nested <details> tags have long had an extra gap in a place where they shouldn't. See, for instance, the "within details" and "more" tags in the pictures below.

This PR aims to finally fix this, once and for all.

Before image
After image

@modrinth-bot

modrinth-bot commented Jun 21, 2026

Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Fixed extra space in nested <details> tags within Markdown fields.

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@modrinth-bot

Copy link
Copy Markdown
Member

@triphora triphora added this pull request to the merge queue Jun 21, 2026
Merged via the queue into main with commit a0017cf Jun 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants