Skip to content

fix(headings): skip headings in details in table of contents#8653

Open
mejo- wants to merge 1 commit into
mainfrom
fix/no_details_headings_in_toc
Open

fix(headings): skip headings in details in table of contents#8653
mejo- wants to merge 1 commit into
mainfrom
fix/no_details_headings_in_toc

Conversation

@mejo-
Copy link
Copy Markdown
Member

@mejo- mejo- commented May 27, 2026

Fixes: #8582

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by me

Fixes: #8582

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- self-assigned this May 27, 2026
@mejo- mejo- added the bug Something isn't working label May 27, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team May 27, 2026
@mejo-
Copy link
Copy Markdown
Member Author

mejo- commented May 27, 2026

/backport to stable34

@mejo-
Copy link
Copy Markdown
Member Author

mejo- commented May 27, 2026

/backport to stable33

@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team May 27, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
While you're at it... shall we do the same for quotes?

@mejo-
Copy link
Copy Markdown
Member Author

mejo- commented May 27, 2026

While you're at it... shall we do the same for quotes?

Not sure about that one. Headings in details are inaccessible from table of contents, as details are collapsed when loading the page. Headings in quotes are accessible. Still they're probably not meant to be part of the page structure usually. Are you in favor of skipping them as well? I don't have a strong opinion and think I'd be fine with either option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

Remove headings inside details block from outline (toc)

2 participants