Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #67 #130

Merged
merged 1 commit into from
Sep 25, 2022
Merged

Fix issue #67 #130

merged 1 commit into from
Sep 25, 2022

Conversation

frogkind
Copy link
Contributor

@frogkind frogkind commented Jun 30, 2022

FIx #67
replace btoa to js-base64 encode in convertSVGtoPNG() in renderer.ts
because btoa() on a SVG data that contains non-Latin1 characters get InvalidCharacterError

because btoa() on a SVG data that contains non-Latin1 characters get InvalidCharacterError
@frogkind frogkind changed the title Fix #67 Fix issue #67 Jun 30, 2022
@OliverBalfour OliverBalfour merged commit 4f3991f into OliverBalfour:master Sep 25, 2022
@OliverBalfour
Copy link
Owner

Nice catch!

@frogkind frogkind deleted the 67 branch October 14, 2022 07:40
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.

Error: Export fails when using characters outside Latin1 range in a Mermaid diagram
2 participants