Skip to content

fix: fix pyodide output escaping#179

Merged
squidfunk merged 1 commit into
masterfrom
fix/dont-html-escape-pyodide-output
Jul 7, 2026
Merged

fix: fix pyodide output escaping#179
squidfunk merged 1 commit into
masterfrom
fix/dont-html-escape-pyodide-output

Conversation

@pawamoy

@pawamoy pawamoy commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

With AI assistance: ChatGPT made me aware of textContent, which seems to obviate the need for both new Option(untrusted_input).innerHTML and escapeHtml(...).

Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
@squidfunk squidfunk merged commit 8f5ee4c into master Jul 7, 2026
4 checks passed
@squidfunk squidfunk deleted the fix/dont-html-escape-pyodide-output branch July 7, 2026 14:42
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