Skip to content

fix(svg): enhance SVG encodeBase64 compatibility#1145

Merged
Ovilia merged 1 commit intomasterfrom
fix/svg/encodeBase64-compatibility
Dec 3, 2025
Merged

fix(svg): enhance SVG encodeBase64 compatibility#1145
Ovilia merged 1 commit intomasterfrom
fix/svg/encodeBase64-compatibility

Conversation

@plainheart
Copy link
Collaborator

#856 added the ability to export a base64-encoded SVG string, but it does not work in the environment without a global window, like Web Worker. This PR makes it possible in more environments, like Web Worker, NodeJS, Bun, and so on.

Current Behavior:

image

After Fix:

image

@plainheart plainheart requested review from Ovilia and pissang November 24, 2025 01:43
@Ovilia Ovilia merged commit b013719 into master Dec 3, 2025
3 checks passed
@Ovilia Ovilia deleted the fix/svg/encodeBase64-compatibility branch December 3, 2025 08:43
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.

2 participants