Repository navigation
fix: reserve viewer resources before document images - #1093
Merged
Merged
Conversation
andiwand
force-pushed
the
review/74-document-html-metadata
branch
from
October 5, 2026 19:42
4bb8cb4 to
0327f15
Compare
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
force-pushed
the
review/75-document-resources
branch
from
October 5, 2026 19:50
4eb1b52 to
c6d4da9
Compare
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.
🤖 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.