From 7325bb9ecfec2c6961235879854f684798294d63 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Mar 2026 13:15:09 +0000 Subject: [PATCH] Fix ParseError in SX Manifesto: bare backslash + unclosed li - Wrap \"this\" in sx string quotes so backslash escapes are inside a string - Remove stray quote before closing paren on wire protocol li item Co-Authored-By: Claude Opus 4.6 --- sx/sxc/pages/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sx/sxc/pages/__init__.py b/sx/sxc/pages/__init__.py index c48a97f..3e49322 100644 --- a/sx/sxc/pages/__init__.py +++ b/sx/sxc/pages/__init__.py @@ -2535,7 +2535,7 @@ def _essay_sx_manifesto() -> str: 'Like every revolutionary who becomes a tyrant, ' 'it kept the worst habits of the regime it overthrew: ' 'weak typing, prototype chains, and the "' - f' {em} \\"this\\")' + f' {em} "\\"this\\"")' ' " keyword.")' f' {p}' ' "CSS, the third estate, controls all visual presentation ' @@ -2751,7 +2751,7 @@ def _essay_sx_manifesto() -> str: ' (li "Abolition of the language distinction between structure, style, and behaviour")' ' (li "Equal obligation of all expressions to be data as well as code")' f' (li "Gradual abolition of the distinction between server and client ' - f'by means of a uniform " {i("/protocols/wire-format", "wire protocol")} ")' + f'by means of a uniform " {i("/protocols/wire-format", "wire protocol")})' ' (li "Free evaluation for all expressions in public and private environments")' ' (li "Abolition of the node_modules directory " ' ' (span :class "text-stone-400 italic" "(this alone justifies the revolution)")))'