Skip to content

Commit c5e9454

Browse files
committed
Fix embedding
1 parent 29a747d commit c5e9454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/jupyter/jupyter-embed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function placeholderToOptions(placeholder: string) {
335335
if (kv.length > 1) {
336336
const key = part.split(":")[0];
337337
const value = part.split(":").slice(1).join(":");
338-
options[key] = Boolean(value);
338+
options[key] = value.toLowerCase() === "true";
339339
} else {
340340
throw new Error("Unexpected placeholder for notebook option: " + part);
341341
}

0 commit comments

Comments
 (0)