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 e0b52b4 commit a668aebCopy full SHA for a668aeb
1 file changed
src/markdown_exec/assets/pyodide.js
@@ -16,7 +16,7 @@ function clearOutput(element) {
16
}
17
18
async function evaluatePython(pyodide, editor, output, session) {
19
- pyodide.setStdout({ batched: (string) => { writeOutput(output, string); } });
+ pyodide.setStdout({ batched: (string) => { writeOutput(output, new Option(string).innerHTML); } });
20
let result, code = editor.getValue();
21
clearOutput(output);
22
try {
0 commit comments