From 4a16b6360bd0d80f0913fbfb2205a756670aa198 Mon Sep 17 00:00:00 2001 From: cra88y Date: Sun, 11 Jan 2026 10:56:11 -0600 Subject: [PATCH] fix: regex escaping for first-chunk cleanup --- gemini_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemini_flash.py b/gemini_flash.py index 0e997b6..425034a 100644 --- a/gemini_flash.py +++ b/gemini_flash.py @@ -219,7 +219,7 @@ class SXNGPlugin(Plugin): if (chunk) {{ let text = chunk; if (!started) {{ - text = text.replace(/^[\\s.,;:!?]+/, ''); + text = text.replace(/^[\s.,;:!?]+/, ''); if (!text) continue; data.appendChild(cursor); box.style.display = 'block';