Add the missing period to the footer credit line - #24
Merged
Merged
Conversation
Also matches the standard's exact rel/URL/year form: rel="noopener" (drop noreferrer), trailing slashes on both URLs, and a build-time year instead of the hardcoded 2026 (via inline script, since this site has no build step). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sy87wxWsc51sBPzwFkS7jW
The previous commit's document.write approach renders no year at all when script does not run (JS disabled, reader mode, or a future move to a hashed CSP). Use a span with a literal fallback year instead, updated by a small inline script when JS runs. document.write is also deprecated and blocks the parser. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sy87wxWsc51sBPzwFkS7jW
tgwab-claude
enabled auto-merge (squash)
September 19, 2026 23:30
MichalAFerber
approved these changes
Sep 19, 2026
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.
Fixes the footer credit line to match DEV-STANDARDS §1 exactly, per the estate-wide footer-credit audit (2026-09-19).
Divergences found (all fixed):
<span id="footer-year">2026</span>plus a small inline script that sets it tonew Date().getFullYear(). With JavaScript disabled or blocked, the span still shows the literal 2026 (a stale-but-present year, never a blank one). A future move to a hashed CSP (script-src with 'sha256-...', no 'unsafe-inline' — already the pattern on account.tgwab.us) must add this script's hash, or the year silently freezes at 2026.Verified locally: npm run lint, the DS §15 XSS fixture, node test/harness.mjs, and npm audit --audit-level=high (0 vulnerabilities). Confirmed by reading the served HTML (not normalized text) that the rendered line is exactly "© | Created with ❤️ by Michal Ferber, aka TechGuyWithABeard." with single spaces throughout.
Generated with Claude Code
https://claude.ai/code/session_01Sy87wxWsc51sBPzwFkS7jW