Skip to content

Drop stale compressHTML comment in Base.astro footer - #36

Merged
FlyOverCoderKY merged 3 commits into
mainfrom
claude/awesome-zhukovsky-fe07ea
Jul 29, 2026
Merged

FlyOverCoderKY merged 3 commits into
mainfrom
claude/awesome-zhukovsky-fe07ea

Conversation

@FlyOverCoderKY

Copy link
Copy Markdown
Contributor

Follow-up flagged in #35: the comment #34 added to the footer ("whitespace at text↔inline-tag boundaries must stay on one line") described a workaround for compressHTML, which #35 then disabled. The rule no longer applies, and the rationale now lives next to compressHTML: false in astro.config.mjs.

Comment-only removal, no markup changes. Verified: rebuilt and confirmed the footer still renders with correct spacing; npm run check clean.

🤖 Generated with Claude Code

FlyOverCoderKY and others added 3 commits July 29, 2026 15:35
Astro's default compressHTML removes the newline+indent when a line
break sits next to an inline tag, so source like
"lives in\n  <a …>catalog.json</a>" rendered as "lives incatalog.json".
A build-output grep found the joined-word artifact on every page:
the footer on all 10 pages, plus index ("events.Storage Core"),
examples ("fixturesource"), skill, stack, roadmap, and staff pages.

Turning compression off fixes the class instead of policing every
line break next to an <a>/<code>/<strong>. Cost is negligible once
Cloudflare compresses the response: 27.3 KB -> 28.9 KB gzipped
across all 10 pages (raw 80.4 KB -> 99.5 KB).

Verified: rebuilt and re-grepped dist/ for text<tag and tag>text
joins (zero matches); npm run check is clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The rule it stated — keep boundary whitespace on the tag's line —
stopped applying when #35 disabled compressHTML; the constraint now
lives as a comment in astro.config.mjs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 29, 2026 19:52
@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Grok Grok Build Review — no issues

Review complete. No issues found — the changes look solid.

This pull request removes a stale footer comment that documented a compressHTML whitespace workaround. That setting is disabled in astro.config.mjs, where the rationale already lives. The change is comment-only, preserves footer markup, and introduces no correctness, security, or maintainability concerns.

Reviewed commit 1a7950a · workflow run

@FlyOverCoderKY
FlyOverCoderKY merged commit 3147071 into main Jul 29, 2026
3 checks passed
@FlyOverCoderKY
FlyOverCoderKY deleted the claude/awesome-zhukovsky-fe07ea branch July 29, 2026 19:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes an outdated footer comment in Base.astro that documented a workaround for compressHTML whitespace-collapsing behavior, now obsolete after compressHTML was disabled (per follow-up noted in the PR metadata).

Changes:

  • Deleted the stale inline comment above the footer copy; no markup or runtime behavior changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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