Skip to content

ci: cover script parsing and asset validation edge cases - #3

Merged
astrovm merged 1 commit into
masterfrom
ci/static-validation-edge-cases
Sep 30, 2026
Merged

astrovm merged 1 commit into
masterfrom
ci/static-validation-edge-cases

Conversation

@astrovm

@astrovm astrovm commented Sep 30, 2026

Copy link
Copy Markdown
Member

The static validator now rejects unterminated script elements and preserves the HTML script's classic/module mode when checking inline and external JavaScript. This prevents broken script markup from passing and avoids rejecting valid ES modules when a repository uses CommonJS defaults.

Adds regression fixtures for both script modes, malformed scripts, missing assets, path escapes, CSS URLs and manifest icons. The current master branch filter is retained: GitHub confirms master is the default branch and PR #2's Validate site check ran successfully against it.

Validation: the site and all regression tests pass locally; actionlint and git diff --check passed. This follows up on review feedback after PR #2 was merged.

@astrovm
astrovm merged commit 8c7b358 into master Sep 30, 2026
4 checks passed
@astrovm
astrovm deleted the ci/static-validation-edge-cases branch September 30, 2026 04:17
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.

1 participant