From 21aa9b373c8a473eb6b55c671de42a54b4cd71af Mon Sep 17 00:00:00 2001 From: martin veillette Date: Wed, 12 Aug 2026 14:06:38 -0400 Subject: [PATCH] fix: add codemirror sri and escape error overlay html Co-authored-by: Cursor --- dev-utils.js | 2 +- examples/code-playground.html | 46 +++++++++++++++++++++++++++++------ 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/dev-utils.js b/dev-utils.js index 027c861..e597048 100644 --- a/dev-utils.js +++ b/dev-utils.js @@ -212,7 +212,7 @@ export class ErrorOverlay {
- ${error.name || 'Error'} + ${this.escapeHtml(error.name || 'Error')}
${this.escapeHtml(error.message)} diff --git a/examples/code-playground.html b/examples/code-playground.html index e725a91..558ea45 100644 --- a/examples/code-playground.html +++ b/examples/code-playground.html @@ -327,20 +327,50 @@

🎮 Live Code Playground

- - - - - - - + + + + + + +