We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb28ca commit 6f9c801Copy full SHA for 6f9c801
src/core/jupyter/jupyter.ts
@@ -1030,7 +1030,7 @@ export function mdFromContentCell(
1030
: data as string;
1031
// base 64 decode if its not svg
1032
if (!imageText.trimStart().startsWith("<svg")) {
1033
- const imageData = base64decode(imageText);
+ const imageData = base64decode(imageText.replaceAll("\n", ""));
1034
Deno.writeFileSync(outputFile, imageData);
1035
} else {
1036
Deno.writeTextFileSync(outputFile, imageText);
0 commit comments