Automated SEO fixes: resolve multiple H1 headings on open-source-licenses page#39
Closed
petradonka wants to merge 1 commit intomainfrom
Closed
Automated SEO fixes: resolve multiple H1 headings on open-source-licenses page#39petradonka wants to merge 1 commit intomainfrom
petradonka wants to merge 1 commit intomainfrom
Conversation
… leakage The blank line between </summary> and <pre> caused MDX to switch to markdown mode and parse license text (Setext === underlines, ATX # headings) as HTML H1 elements, producing 10 H1 headings on the page. Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
hongyi-chen
approved these changes
May 8, 2026
Contributor
|
Closing this PR — the conflict is because |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix
multiple_h1SEO warning on the Open Source Licenses page (/support-and-community/community/open-source-licenses/).Problem
The page had 10 H1 headings detected by crawlers. The root cause was a blank line between
</summary>and<pre>inside a<details>block, which caused the MDX compiler to switch from JSX mode to markdown mode. License text containing Setext-style heading markers (===underlines) and ATX headings (#) was then parsed as HTML<h1>elements instead of being treated as preformatted text.Fix
Removed the blank line between
</summary>and<pre>so MDX treats the entire<details>/<summary>/<pre>block as a single JSX expression, preventing markdown parsing of the license content.SEO audit results (314 pages scanned, 7 warnings)
Fixed (1):
multiple_h1onopen-source-licenses.mdx— 10 H1 headings → 1Allowlisted (5):
title_too_short: Changelog, Guides, Tabs, Split panes, Tab Configs (intentionally short per exceptions list)Unfixable (1):
missing_h1on/api/— auto-generated page, no local source fileConversation: https://app.warp.dev/conversation/1a48a8ae-1020-4e5e-8188-1b743786bd55
Run: https://oz.warp.dev/runs/019e0662-d27f-74bb-a14c-bb81e85f890c
This PR was generated with Oz.