Skip to content

fix: escape document locale and preserve named views - #1092

Merged
andiwand merged 2 commits into
mainfrom
review/74-document-html-metadata
Oct 5, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/74-document-html-metadata

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Escape locale metadata before writing HTML attributes, and preserve individual sheet, slide and page views when their name is document. Previously that name was mistaken for the combined document view.

Validation: 127 HTML, URI and document-style checks pass. Extends the existing locale test and adds one sheet-view regression.

@andiwand
andiwand force-pushed the review/73-archive-resources branch from 1b166db to 47877f1 Compare October 5, 2026 19:37
Base automatically changed from review/73-archive-resources to main October 5, 2026 19:38
andiwand and others added 2 commits October 5, 2026 21:39
The check for a text document does not depend on the fragment, so it
moves out of the loop. Drop the extra parentheses in the locale test.

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/74-document-html-metadata branch from 4bb8cb4 to 0327f15 Compare October 5, 2026 19:42
@andiwand
andiwand merged commit d98018e into main Oct 5, 2026
19 of 25 checks passed
@andiwand
andiwand deleted the review/74-document-html-metadata branch October 5, 2026 19:47
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