From 5c9b7c74e0d9bf4e6399d71e31c15446127b27af Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 9 Feb 2026 11:36:48 +0000 Subject: [PATCH] fix: use raw string for HTML template to preserve JS backslashes Python was interpreting \' as ' in the onclick handlers, breaking JS. Co-Authored-By: Claude Opus 4.6 --- backend/app/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/frontend.py b/backend/app/frontend.py index 830c50a..c4c993a 100644 --- a/backend/app/frontend.py +++ b/backend/app/frontend.py @@ -1,6 +1,6 @@ """Inline frontend HTML for ClipForge.""" -HTML = """ +HTML = r"""