Skip to content

fix: reserve viewer resources before document images - #1093

Merged
andiwand merged 2 commits into
mainfrom
review/75-document-resources
Oct 5, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/75-document-resources

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Reserve document scripts and stylesheets before locating images, including spreadsheet views that render their body before the header. An image that claims a reserved path now embeds into the page, so document bytes cannot replace a viewer script. Share case-insensitive collision detection with archive listings and preserve repeated references to the same image.

Validation: 128 HTML, URI and style checks pass. One table-driven regression covers ODT, DOCX and XLSX images, late scripts, spreadsheet CSS, case aliases, and exact served asset bytes.

@andiwand
andiwand force-pushed the review/74-document-html-metadata branch from 4bb8cb4 to 0327f15 Compare October 5, 2026 19:42
Base automatically changed from review/74-document-html-metadata to main October 5, 2026 19:47
andiwand and others added 2 commits October 5, 2026 21:47
A location that this same image already holds stays shared; any other
taken location embeds the image. Put the standard includes of the
service after the odr includes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gb1fLafqqzehpqPuU6uBfn
@andiwand
andiwand force-pushed the review/75-document-resources branch from 4eb1b52 to c6d4da9 Compare October 5, 2026 19:50
@andiwand
andiwand merged commit a6776d3 into main Oct 5, 2026
19 of 23 checks passed
@andiwand
andiwand deleted the review/75-document-resources branch October 5, 2026 19:57
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