Skip to content

Homepage: fix escaped redirect and hero double border - #746

Merged
taras merged 3 commits into
mainfrom
fix/homepage-redirect-escaping
Sep 3, 2026
Merged

taras merged 3 commits into
mainfrom
fix/homepage-redirect-escaping

Conversation

@taras

@taras taras commented Sep 3, 2026

Copy link
Copy Markdown
Owner

The > release.md redirect rendered as a literal >. Under this project's jsx: "precompile", a bare string in an expression container passed as a component child is escaped more than once — > became > in the HTML. The surrounding panels were unaffected because their text sits inside element spans, which escape once. The CLI panel's text now does the same.

The hero example also carried two rules: a panel wrapping a code-panel, each with its own 2px border. The wrapper existed to hold a paragraph above the example, which the current design no longer has, so it is removed and the example keeps a single border.

The `> release.md` redirect rendered as a literal `>`. Under this
project's `jsx: "precompile"`, a bare string in an expression container
passed as a component child is escaped more than once — `>` became
`>` in the HTML. The surrounding panels were unaffected because
their text sits inside element spans, which escape once. The CLI panel's
text now does the same.

The hero example also carried two rules: a `panel` wrapping a `code-panel`,
each with its own 2px border. The wrapper existed to hold a paragraph above
the example, which the current design no longer has, so it is removed and
the example keeps a single border.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014idQZxeQCcKgtbVwC1pH42
@github-actions

github-actions Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

PR #746: Homepage: fix escaped redirect and hero double border

1 files, +21 / -9

Scope

✅ PR scope looks good.

Structural

✅ No structural bloat detected.

Slop

✅ Slop indicators look low.

Static Analysis

✅ Oxlint found no issues.

Correctness

No extraneous code patterns detected.

Progressive disclosure for readers who want to see a real, non-trivial XMD
workflow: <Plan> is an ordinary XMD document, and the raw file is the
evidence. One line, no excerpt, no new heading.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014idQZxeQCcKgtbVwC1pH42
@taras
taras enabled auto-merge (squash) September 3, 2026 03:23
@taras
taras disabled auto-merge September 3, 2026 03:24
Swaps the raw.githubusercontent URL for the blob view with ?plain=1, which
shows the Markdown as written instead of GitHub's render, so the components
stay visible.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014idQZxeQCcKgtbVwC1pH42
@taras
taras enabled auto-merge (squash) September 3, 2026 03:33
@taras
taras merged commit 6fdad88 into main Sep 3, 2026
38 checks passed
@taras
taras deleted the fix/homepage-redirect-escaping branch September 3, 2026 03:33
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

Successfully merging this pull request may close these issues.

2 participants