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 <noreply@anthropic.com>
This commit is contained in:
parent
128aad405c
commit
5c9b7c74e0
|
|
@ -1,6 +1,6 @@
|
||||||
"""Inline frontend HTML for ClipForge."""
|
"""Inline frontend HTML for ClipForge."""
|
||||||
|
|
||||||
HTML = """<!DOCTYPE html>
|
HTML = r"""<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue