Skip to content

fix: use XML hash for streaming shared strings#50

Open
gwkline wants to merge 1 commit intoprotobi:masterfrom
gwkline:master
Open

fix: use XML hash for streaming shared strings#50
gwkline wants to merge 1 commit intoprotobi:masterfrom
gwkline:master

Conversation

@gwkline
Copy link
Copy Markdown

@gwkline gwkline commented Apr 30, 2026

Summary

  • when streaming from a WorkbookWriter, having useSharedStrings enabled was causing strings to be incorrectly repeated, likely due to [object Object] counting as one string in the cache. This patch uses the XML representation of these strings for the purpose of cacheing to avoid this issue

Test plan

Before:
CleanShot 2026-04-30 at 11 31 42@2x

After:
CleanShot 2026-04-30 at 11 31 49@2x

Related to source code (for typings update)

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